flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Yardman 12 Aug 2008, 04:01
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:24; edited 1 time in total |
|||
![]() |
|
Zero 12 Aug 2008, 04:14
hmmm....I assembled your code and I can now see the dialog box window, however the menu is still missing. Any ideas?
Also, do I have to return true when using both CreateDialogParam and DialogBoxParam? thanks for your prompt help yardman |
|||
![]() |
|
Yardman 12 Aug 2008, 04:54
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:24; edited 1 time in total |
|||
![]() |
|
Yardman 12 Aug 2008, 05:13
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:24; edited 1 time in total |
|||
![]() |
|
bitRAKE 13 Aug 2008, 02:40
Also want to make hDlg the parent of the message box - otherwise it displays under the dialog.
Code: invoke MessageBox,[hDlg],expBuffer,expDlgName,MB_OK
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||||||||||
![]() |
|
Zero 13 Aug 2008, 07:34
thanks bitrake and yardman. I was wondering why the message box was displaying below the main window and [hDlg] solved it!
![]() Also, you modified it and included: Code: invoke GetMenu,[hDlg] invoke DestroyMenu,eax Is it necessary to use DestroyMenu everytime LoadMenu is used, i.e. are they always used as pairs? Because I assembled it without those two lines of code, and it works ok. |
|||
![]() |
|
bitRAKE 14 Aug 2008, 01:29
_________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.