Hello.
I have a file .rc looking like this:
######################
(...)
ID_WINDOW DIALOG 107, 23, 302, 161
STYLE WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
CAPTION "WINDOW"
FONT 8, "MS Sans Serif"
MENU IDMAINMENU
BEGIN
LTEXT "search for:", 401, 6, 6, 44, 12
EDITTEXT ID_INPUT_TEXT, 51, 6, 158, 12, ES_AUTOHSCROLL
PUSHBUTTON "search", ID_BT_SEARCH, 217, 6, 78, 12
(......)
##################
this would be the main window...
**how can I use that code from the rc on my file.c??**
all I have seen is that I would have to do some CreateWindow()
for the buttons, listbox.....
but doing this way, that code above from the rc file is useless!
Thanks,
Jester