Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/overhertz/domains/codeziron.com/public_html/ziron/ziron.db.connector.php on line 13 code:zIRON - Get the latest releases plus source-codes and tutorials - Simplifed Assembly Programming Language.
Register | Login
Forum Index > Requests and Feedback > Menu Flags for win32
Author Message
Pages: 1
Molotov
Member
(send private message)

Posts: 49
Topics: 21

Location:
Behind Keyboard
[730] Menu Flags for win32 - posted: 2011-11-18 19:55:57
Hey first off i like to say i love what you´ve done so far with Ziron

I saw that the menu flags were missin in the win32 so i gathered those in my own files, thought you might want the, (less work for you) =)

Code:
/*  Menu Flags */

const MF_BITMAP = 0x00000004;
const MF_CHECKED =  0x00000008;
const MF_DISABLED = 0x00000002;
const MF_ENABLED = 0x00000000;
const MF_GRAYED = 0x00000001;
const MF_BARBREAK = 0x00000020;
const MF_MENUBREAK = 0x00000040;
const MF_OWNERDRAW = 0x00000100;
const MF_POPUP = 0x00000010;
const MF_SEPARATOR = 0x00000800;
const MF_STRING = 0x00000000;
const MF_UNCHECKED = 0x00000000;


"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b
Admin
Site Admin

avatar

(send private message)

Posts: 925
Topics: 54

Location:
OverHertz Studio
[731] - posted: 2011-11-18 20:51:32
excellent, will add those, which file do they belong in do you think? smile

ps you could also do:

Code:
/*  Menu Flags */
enum MENU_FLAGS: DWord {
  MF_BITMAP = 0x00000004,
  MF_CHECKED =  0x00000008,
  MF_DISABLED = 0x00000002,
  MF_ENABLED = 0x00000000,
  MF_GRAYED = 0x00000001,
  MF_BARBREAK = 0x00000020,
  MF_MENUBREAK = 0x00000040,
  MF_OWNERDRAW = 0x00000100,
  MF_POPUP = 0x00000010,
  MF_SEPARATOR = 0x00000800,
  MF_STRING = 0x00000000,
  MF_UNCHECKED = 0x00000000
}


will help keep them together and easier to read maybe? smile

and welcome to the forum smile

Download Ziron
Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message.
Molotov
Member
(send private message)

Posts: 49
Topics: 21

Location:
Behind Keyboard
[732] - posted: 2011-11-18 20:58:57
Ah yeah, updated my file now

I put them into User32, since i feel like it´s a part of userinterface, but anywhere you want to put the code is fine.. =)

"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b
Pages: 1
create new reply


Quick reply:

Message:



Currently Active Users:
There are currently 2 user(s) online. 0 member(s) and 2 guest(s)
Most users ever online was 533, May 5, 2016, 7:19 am.


Statistics:
Threads: 223 | Posts: 1837 | Members: 50 | Active Members: 50
Welcome to our newest member, NobodyAtWork
const Copyright = '2011-2018 © OverHertz Ltd. All rights reserved.';
Web development by OverHertz Ltd