Well, I called CreateWindowEx to create a dialogbox,following is the code in
pascal style(only call,very simple!)


hWindow := CreateWindowEx(WS_EX_WINDOWEDGE,
'Test',
nil,
WS_VISIBLE or WS_MINIMIZEBOX or WS_SYSMENU,
193,150,354,307,0, 0, Inst, nil);

now, I want to make a SAME dialog by RC file,so I wrote the following script :

Main DIALOGEX 193, 150, 354, 307
style WS_VISIBLE | WS_MINIMIZEBOX | WS_EX_WINDOWEDGE | WS_SYSMENU
CAPTION "Test"
FONT 9, "Arial"
BEGIN
END


Then I found the new dialog is much large than the original one!

What can I do?


Thanks!!!
Posted on 2004-02-13 04:44:59 by firstrose
Hi,

I suggest you have a look here:

http://www.asmcommunity.net/board/index.php?topic=16660

Regards,

akyprian
Posted on 2004-02-13 06:21:52 by akyprian