LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add a bitmap in a menu topic

Hi,
I didn't know that it is the wparam which returns selected menu item.
When i use "Modify Win Msg LabVIEW.dll" with "GetNextMsg" function, i can see that user selected a menu item but wparam is null. Why?
In "user32.dll", there is "GetMessage" function, but i can't use it ?
My email is contact@secmai.fr, could you send me an example about my problem (If you have one).

Regards,
Alexis de La Fontaine
SECMAI
0 Kudos
Message 11 of 13
(585 Views)
Hi,

So how do you create the menus? The LV menus can be read with Application
Control>Menus>Get Menu Selection function...

Regards,

Wiebe.


"secmai" wrote in message
news:506500000005000000B5B50000-1031838699000@exchange.ni.com...
> Hi,
> I didn't know that it is the wparam which returns selected menu item.
> When i use "Modify Win Msg LabVIEW.dll" with "GetNextMsg" function, i
> can see that user selected a menu item but wparam is null. Why?
> In "user32.dll", there is "GetMessage" function, but i can't use it ?
> My email is contact@secmai.fr, could you send me an example about my
> problem (If you have one).
>
> Regards,
> Alexis de La Fontaine
> SECMAI
0 Kudos
Message 12 of 13
(585 Views)
Hi,
When i use Labview menu, there's no problem. I use it very well. But when i use windows menu (user32), i can't receive window message (wparam = 0 with "Modify Win Msg LabVIEW.dll").

Regards,

Alexis de La Fontaine. SECMAI
0 Kudos
Message 13 of 13
(585 Views)