News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Constant name for 0x5001000 ?

Started by dsouza123, July 13, 2008, 10:24:04 PM

Previous topic - Next topic

dsouza123

Does anyone know the constant name for the resource style 0x50010000 ?
Are there other ones without names ?

examples

#define BS_DEFPUSHBUTTON    0x00000001L
#define SS_BITMAP           0x0000000EL
#define ES_LEFT             0x0000L
#define SS_LEFT             0x00000000L
#define WS_CHILD            0x40000000L


so

#define ?????????????????   0x50010000L



CONTROL "", 1,    BUTTON,           BS_DEFPUSHBUTTON | WS_CHILD, 0,   0,   0,  0
CONTROL "", 259,  EDIT,             ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 8,  52, 200, 18
CONTROL "", 260,  BUTTON,           BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 196,  56,  30, 18
CONTROL "", 261,  "SysIPAddress32", 0x50010000, 120,  54,  92, 18
CONTROL "", 264,  "RichEdit",       ES_LEFT | ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 9,  72, 124, 134

jdoe

Quote from: dsouza123 on July 13, 2008, 10:24:04 PM
Does anyone know the constant name for the resource style 0x50010000 ?
Are there other ones without names ?


It is a combination of styles. Maybe WS_CHILD | WS_VISIBLE | WS_TABSTOP.

Sorry I can't help more.


donkey

jdoe is right...

#define WS_VISIBLE  0x10000000
#define WS_CHILD  0x40000000
#define WS_TABSTOP  0x00010000

WS_VISIBLE OR WS_CHILD OR WS_TABSTOP = 0x50010000


As far as I know ther are no style constants without names, though there could possibly be an undocumented one or two. However, combinations of styles, with very few exceptions are unnamed.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

dsouza123

Thank you jdoe and donkey

That makes perfect sense now that you have explained it.