flat assembler
Message board for the users of flat assembler.
Index
> Windows > getmenubarinfo error |
Author |
|
dv4-fa 04 Mar 2013, 12:49
Getmenubarinfo gives me return code 87 invalid parameter. Invoke GetMenuBarInfo,[hwnddlg],0xfffffffd,0,mbi
What am i doing wrong? |
|||
04 Mar 2013, 12:49 |
|
baldr 04 Mar 2013, 16:26
dv4-fa,
Have you set mbi.cbSize to sizeof MENUBARINFO? |
|||
04 Mar 2013, 16:26 |
|
dv4-fa 05 Mar 2013, 11:15
Fixed it. The menubarinfo struct has two bool variables which i defined as dwords. The function failed because my struct was four bytes too long.
|
|||
05 Mar 2013, 11:15 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.