How to Define a Resource Dialog into Window

Post Reply
User avatar
kokookao2007
Posts: 59
Joined: Thu May 17, 2007 8:27 am

How to Define a Resource Dialog into Window

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
kokookao2007
Posts: 59
Joined: Thu May 17, 2007 8:27 am

Post by kokookao2007 »

Antonio :

thank you.
Post Reply