Originally posted by: samtree
nice~!!
but when i push the menu, i don't want to kill focus of parent window.
in other words, i don't want that menu get focus.
good bye~
Reply
Originally posted by: kiran
can u help in handleing runtime menus. i was able to generate menus during runtime but i donot know how to handle
them.
my requirement is i have a candidate table he has a status as Accepted or Rejected. on right click i am fetching these status from the database table called status and creating the popup menu for it. but i am not able to handle them.
if u have got the solution pls send me to my mail
akiranbabu@yahoo.com
thanks in advance,
regards,
kiran.
Originally posted by: ledz
very nice work...
but, and I have to say but... it's crashing, sometimes...
here's an example, i used this on a separate dll of a modal dialog, and... the first time i load up the dll, and popup the menu, all very nice... i can do everything i want... i close the modal dialog (and the dll), and reopen it again... and once again, i popup the menu... surprise of surprises... my applications terminates... puff!! gone... got an explanation for this?
any way, good work (;
[[]]
ReplyOriginally posted by: keva
static LRESULT CALLBACK stubWindowProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
There is a resource leak if you have a FlatPopupMenu
drawn and you switch to another application (through
ALT-TAB). This can be fixed by adding the following
code in FlatPopupMenu.cpp:
/*************************/
/* stub window procedure */
/*************************/
{
.
.
.
.
// Add the following lines to switch statement
case WM_KILLFOCUS:
pClass=reinterpret_cast<CFlatPopupMenu * GetWindowLong(hWnd,GWL_USERDATA));
pClass->OnDestroy(hWnd);
break;
.
.
}
Originally posted by: qfang
there is a bug in this demo. After you popup the popup menu, press Alt+Tab to switch to another program, then press Alt+Tab to switch back. Now when you click exit to quit the program, you won't be able to get out the demo. Can anyone help me with this bug?
ReplyOriginally posted by: Jan
Hi Andy.
Your menu looks cool, but what do I do to make it work in ATL.
Kind regards
Jan
ReplyOriginally posted by: dream_fly
if i set the menu is modeless then it will not work, why?
ReplyOriginally posted by: kwang Suk
Good~!
How get WM_COMMAND message ?
Reply