Page 1 of 1

How to Define a Resource Dialog into Window

Posted: Tue Jul 31, 2007 5:50 am
by kokookao2007
hi all:

for Difference LCD display resolution 1024x678 , ...., 1600X1200 need.
my ap Define some folder,tcbrowse,tget,tsay,tbutton for Resources of
Dialog .

How to Define this Resource Dialog into a Window ,which can be
MINIMIZE WINDOWS ,MAXIMIZE WINDOWS ?

Any sample file ?

Best Regards

kokoo

Posted: Tue Jul 31, 2007 7:56 am
by Antonio Linares
Here you have a test RC:

Code: Select all

test DIALOG 49, 64, 207, 111
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
CAPTION "DIALOG_1"
FONT 8, "MS Sans Serif"
{
 DEFPUSHBUTTON "OK", IDOK, 148, 6, 50, 14
 PUSHBUTTON "Cancel", IDCANCEL, 148, 24, 50, 14
 PUSHBUTTON "Help", IDHELP, 148, 42, 50, 14
}
Image

Posted: Tue Jul 31, 2007 10:18 am
by kokookao2007
Antonio :

thank you.