| | |
Popup Menu displays as very thin box
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jun 2007
Posts: 275
Reputation:
Solved Threads: 45
Hi everyone,
I'm a newbie here, and have a newbie question.
I'm trying to get a popup menu to show just above my system tray icon/notifyIcon. I'm using TrackPopupMenuEx to display the menu, loaded from my application. The problem is that menu is displayed as a really thin menu, so that no text is visible. The id values 4001 or 4002 come in WM_COMMAND msgs to my window. How do I get my menu to display properly??
PS I'm using dev-c++.
Thanks for any help!
-Doug
The menu in the .rc file is:
I'm a newbie here, and have a newbie question.
I'm trying to get a popup menu to show just above my system tray icon/notifyIcon. I'm using TrackPopupMenuEx to display the menu, loaded from my application. The problem is that menu is displayed as a really thin menu, so that no text is visible. The id values 4001 or 4002 come in WM_COMMAND msgs to my window. How do I get my menu to display properly??
PS I'm using dev-c++.
Thanks for any help!
-Doug
The menu in the .rc file is:
C++ Syntax (Toggle Plain Text)
popupmenu MENU BEGIN MENUITEM "&Config",4001 MENUITEM SEPARATOR MENUITEM "E&xit",4002 END
•
•
Join Date: Jun 2007
Posts: 275
Reputation:
Solved Threads: 45
•
•
•
•
Doug,
I don't think it is a problem with the resource file. Show the code where you are displaying the menu.
Silly me, thanks for your time though.
-Doug
Last edited by dougy83; Jun 10th, 2007 at 5:50 am.
![]() |
Similar Threads
- popup menu does not appear if wx.FileDialog is activated beforehand (Python)
- popup menu on hover (HTML and CSS)
- searching a text and popup menu (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: need help with error
- Next Thread: Return Array from C++
| Thread Tools | Search this Thread |
api application array arrays beginner binary bitmap c++ c/c++ calculator char class classes code coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamic email encryption error file forms fstream function functions game generator getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive return sorting string strings struct template templates test text tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






