flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Yardman
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:24; edited 1 time in total |
|||
![]() |
|
Zero
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
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:24; edited 1 time in total |
|||
![]() |
|
Yardman
[ Post removed by author. ]
Last edited by Yardman on 04 Apr 2012, 03:24; edited 1 time in total |
|||
![]() |
|
bitRAKE
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
|
|||||||||||
![]() |
|
Zero
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
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.