08-07-2013, 04:00 PM
Sorry to kick this up.
Does SetThreadMenuIcons also work in compiled exe?
I have the following code:
Macro Macro4
(I got part of the above code from other topic)
At mouse pointer location a menu pops-up and the "B" item shows an Icon when I run this from QM.
But the compiled version doesn't show an icon.
Is there something that must be set in the 'make exe' dialog window?
Or must I hardcode the path to the iconfile somwhere in the above code (Helpfile > Make exe > Resources)?
Does SetThreadMenuIcons also work in compiled exe?
I have the following code:
Macro Macro4
POINT p
int px(xm) py(ym)
p.x=px
p.y=py
SetThreadMenuIcons "2=1" "$qm$\il_qm.bmp" 1
int i=ShowMenu("1 A[]2 B" 0 p)
out i(I got part of the above code from other topic)
At mouse pointer location a menu pops-up and the "B" item shows an Icon when I run this from QM.
But the compiled version doesn't show an icon.
Is there something that must be set in the 'make exe' dialog window?
Or must I hardcode the path to the iconfile somwhere in the above code (Helpfile > Make exe > Resources)?
