Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
ven san
|
Nov 23, 2005 - 10:42 PM
|
Hi ppl, I have created a Dynamic Menu in MFC. How do I Customize it with ProUIS. thank u
|
|
Technical Support
|
Nov 24, 2005 - 10:11 AM
|
It’s not completely what you mean. If you can create some HMENU/CMenu dynamically, then you can create a Prof-UIS pop-up menu using the following code: HWND hWnd = . . . // command receiver window
CMenu * pMenu = . . . // your menu
CExtPopupMenuWnd * pPopup = new CExtPopupMenuWnd;
VERIFY( pPopup->CreatePopupMenu( hWnd );
VERIFY(
pPopup->UpdateFromMenu(
hWnd,
pMenu,
true, // or false if use top-level as is
true,
true
)
);
. . .
|
|