Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 615 results for
hmenu
- Page 1
HMENU Hotkeys & Icons
Programming
Software Development
14 Years Ago
by sixstorm1
…) app with a window and a win32 menu on it (
HMENU
), and I've been searching all day for a way…
Re: HMENU Hotkeys & Icons
Programming
Software Development
14 Years Ago
by bheron
Literally, all you have to do is this... Give the name to AppendMenu like this: [CODE]"Open\tCtrl-O"[/CODE] This will have the effect you're looking for. Very simple, but unfortunately, poorly documented. :) GC
WinAPI Object-Oriented Classes
Programming
Software Development
10 Years Ago
by triumphost
….front(), I)) { return GetSubMenu(Menus.front(), I); } } return nullptr; }
HMENU
MenuBar::FindMenuItem(
HMENU
Parent, std::string MenuName) { std::size_t Count = GetMenuItemCount(Parent…
Re: WinAPI Object-Oriented Classes
Programming
Software Development
10 Years Ago
by mike_2000_17
…->AppendMenuItem(StatusMenu, "Invisible", MF_STRING);
HMENU
EditMenu = Mnb->FindMenuItem("Edit"); Mnb…;AppendMenuItem(EditMenu, "Paste Special", MF_STRING);
HMENU
ViewMenu = Mnb->FindMenuItem("View"); Mnb…
Re: Windows API dialog will not show. *Un-solvable ???
Programming
Software Development
14 Years Ago
by Frederick2
…ptrOpenFileName=NULL; //Message for the "Cody" Window Class
HMENU
hMenu
, hSubMenu; //Registered down in WinMain(). Its a HINSTANCE hIns; …ptrOpenFileName=NULL; //Message for the "Cody" Window Class
HMENU
hMenu
, hSubMenu; //Registered down in WinMain(). Its a WNDCLASSEX wc;…
Re: WinAPI Object-Oriented Classes
Programming
Software Development
10 Years Ago
by triumphost
…Mnb->AppendMenuItem(StatusMenu, "Invisible", MF_STRING);
HMENU
EditMenu = Mnb->FindMenuItem("Edit"); Mnb->…gt;AppendMenuItem(EditMenu, "Paste Special", MF_STRING);
HMENU
ViewMenu = Mnb->FindMenuItem("View"); Mnb->…
Re: [win32 - C/C++11] - menu class
Programming
Software Development
9 Years Ago
by triumphost
…std::string GetText(
HMENU
Menu, int Position);
HMENU
FindMenuItem(std::string MenuName);
HMENU
FindMenuItem(
HMENU
Parent, std::string…Menus.front(), I); } } return nullptr; }
HMENU
MenuBar::FindMenuItem(
HMENU
Parent, std::string MenuName) { std::size_t Count =…
redraw all windows when a control is touched?
Programming
Software Development
13 Years Ago
by jorgempaz
…{ case WM_CREATE: {
HMENU
hMenu
, hSubMenu; HICON hIcon, hIconSm;
hMenu
= CreateMenu(); hSubMenu = CreatePopupMenu(); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (…;&Grid"); hSubMenu = CreatePopupMenu(); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (UINT)hSubMenu, "…
getimage and putimage equivalents on builder c++ windows programming?
Programming
Software Development
13 Years Ago
by jorgempaz
…{ case WM_CREATE: {
HMENU
hMenu
, hSubMenu; HICON hIcon, hIconSm;
hMenu
= CreateMenu(); hSubMenu = CreatePopupMenu(); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (…;&Grid"); hSubMenu = CreatePopupMenu(); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (UINT)hSubMenu, "…
MSVC++ Express 8 error C2228
Programming
Software Development
15 Years Ago
by n321
… | WS_VISIBLE, 10, 135, 150, 20, hwnd, (
HMENU
)IDC_MAIN_EDITLBL, GetModuleHandle(NULL), NULL)); txtParams.set_hwnd(CreateWindowEx(WS_EX_CLIENTEDGE, &… | ES_AUTOVSCROLL | ES_WANTRETURN, 5, 155, 567, 180, hwnd, (
HMENU
)IDC_MAIN_EDIT, GetModuleHandle(NULL), NULL)); lblVersion.set_hwnd(CreateWindowEx(WS_EX_LEFT, "STATIC…
Help with Visual C++
Programming
Software Development
13 Years Ago
by yingfo
…// menu without a resourse file
HMENU
hMenu
, hSubMenu; // local variable
hMenu
= CreateMenu(); // submenu hSubMenu = CreatePopupMenu(); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (UINT_PTR)…amp;Line")); AppendMenu(
hMenu
, MF_STRING, IDM_POLYNOMIAL, TEXT("&Polynomial")); AppendMenu(
hMenu
, MF_STRING, IDM_CLEAR, TEXT…
[win32 - C/C++11] - menu class
Programming
Software Development
9 Years Ago
by cambalinho
…: static int intID; int ID=0; bool primeiromenu=false;
HMENU
MenuHandle=NULL;
HMENU
hMenu
=NULL; int menuposition=0; string strCaption=""; public…
can anyone help? there dont work download
Programming
Software Development
15 Years Ago
by tomkeeee
…30*(hC++), cx, cy, hwnd, // Parent window (
HMENU
) 1, // Control ID ((LPCREATESTRUCT) lParam)->hInstance… | LVS_EDITLABELS, 0, 0, 0, 0, hwnd, (
HMENU
) 11, ((LPCREATESTRUCT) lParam)->hInstance, NULL ); LVCOLUMN …
Displaying a different bitmap in different child windows? - win32 in C
Programming
Software Development
20 Years Ago
by keir.whitlock
…WS_HSCROLL | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hwnd, (
HMENU
)IDC_MAIN_MDI, GetModuleHandle(NULL), (LPVOID)&ccs); if(g_hMDIClient == …g_hbmBall); PostQuitMessage(0); break; case WM_MDIACTIVATE: {
HMENU
hMenu
, hFileMenu; UINT EnableFlag;
hMenu
= GetMenu(g_hMainWindow); if(hwnd == (HWND)…
CreateMenu problem
Programming
Software Development
16 Years Ago
by toolmanx
…#include <windows.h> HINSTANCE hInstance; HWND hwndMain;
HMENU
hMenu
; char szBuff3[128]="TEST"; MSG msg; WNDCLASS wc…HWND hwndMain, UINT uMsg , WPARAM wParam , LPARAM lParam); //
HMENU
NewMenu(
HMENU
hMenu
); //*******END Prototypes int WINAPI WinMain( HINSTANCE hInstance,HINSTANCE hPrevInstance,…
Font size problem
Programming
Software Development
15 Years Ago
by Mehh
…, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hwnd, (
HMENU
)IDC_CHILD_EDIT, g_hInst, NULL); SendMessage(hEdit, WM_SETFONT,…case WM_MDIACTIVATE: {
HMENU
hMenu
, hFileMenu; BOOL EnableFlag; char szFileName[MAX_PATH];
hMenu
= GetMenu(g_hMainWindow);…
Problems with dialog box
Programming
Software Development
14 Years Ago
by Mehh
…, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hwnd, (
HMENU
)IDC_CHILD_EDIT, g_hInst, NULL); SendMessage(hEdit, WM_SETFONT,…case WM_MDIACTIVATE: {
HMENU
hMenu
, hFileMenu; BOOL EnableFlag; char szFileName[MAX_PATH];
hMenu
= GetMenu(g_hMainWindow);…
Re: Windows API dialog will not show. *Un-solvable ???
Programming
Software Development
14 Years Ago
by Frederick2
…szClassName[]="Dialog";
HMENU
hMenu
, hSubMenu; WNDCLASSEX wc; hIns=((LPCREATESTRUCT)lParam)->hInstance;
hMenu
= CreateMenu(); hSubMenu =…(hSubMenu, MF_STRING, ID_OPTIONS, "Explorer"); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (UINT)hSubMenu, "&Options…
Re: Windows API dialog will not show. *Un-solvable ???
Programming
Software Development
14 Years Ago
by Frederick2
…szClassName[]="Dialog";
HMENU
hMenu
, hSubMenu; WNDCLASSEX wc; hIns=((LPCREATESTRUCT)lParam)->hInstance;
hMenu
= CreateMenu(); hSubMenu =…(hSubMenu, MF_STRING, ID_OPTIONS, "Explorer"); AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (UINT)hSubMenu, "&Options…
Help again!!
Programming
Software Development
14 Years Ago
by tkud
… | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hwnd, (
HMENU
)IDC_MAIN_MDI, GetModuleHandle(NULL), (LPVOID)&ccs); if(g_hMDIClient ==…(FALSE, 0)); } break; case WM_MDIACTIVATE: {
HMENU
hMenu
, hFileMenu; UINT EnableFlag;
hMenu
= GetMenu(g_hMainWindow); if(hwnd == (HWND)lParam)…
Regarding Desktop Video capture Using VC++
Programming
Software Development
13 Years Ago
by zenotriacme
… hInst; TCHAR szTitle[MAX_LOADSTRING]; TCHAR szWindowClass[MAX_LOADSTRING];
HMENU
ghMenu=NULL; //Menu Handle for the Popup Menu… would stop the encoder break; } case WM_INITMENU: {
HMENU
hMenu
= (
HMENU
)wParam; WMENC_ENCODER_STATE encState=WMENC_ENCODER_STOPPED ; if(g_pEncoder) g_pEncoder->…
Re: [win32 - C/C++11] - menu class
Programming
Software Development
9 Years Ago
by cambalinho
…=caption; if(GetMenu(MainHWND)==NULL)
hMenu
= CreateMenu(); else
hMenu
=GetMenu(MainHWND); if (subtmenu==NULL) {
HMENU
hSubMenu=CreatePopupMenu() ; AppendMenu(
hMenu
, MF_STRING | MF_POPUP, (UINT)hSubMenu, caption…
Re: WinAPI help
Programming
Software Development
14 Years Ago
by vadalaz
… tInfo[9] = { {(
HMENU
)1, true}, {(
HMENU
)2, true}, {(
HMENU
)3, true}, {(
HMENU
)4, true}, {(
HMENU
)5, true}, {(
HMENU
)6, true}, {(
HMENU
)7, true}, {(
HMENU
)8, true}, {(
HMENU
)9, true…
win32 prob
Programming
Software Development
17 Years Ago
by Covinus
…, BLACK_BRUSH } ; static int iSelection = IDM_BKGND_WHITE ;
HMENU
hMenu
; switch (message) { case WM_COMMAND:
hMenu
= GetMenu (hwnd) ; switch (LOWORD (wParam)) …SetTimer (hwnd, ID_TIMER, 1000, NULL)) { EnableMenuItem (
hMenu
, IDM_TIMER_START, MF_GRAYED) ; EnableMenuItem (
hMenu
, IDM_TIMER_STOP, MF_ENABLED) ; } return 0 ; case …
Displaying text in a window
Programming
Software Development
15 Years Ago
by hahanottelling
… lParam) { switch (message) /* handle the messages */ { case WM_CREATE: {
HMENU
hMenu
, hSubMenu; HICON hIcon, hIconSm;
hMenu
= CreateMenu(); hSubMenu = CreatePopupMenu(); AppendMenu(hSubMenu, MF_STRING, ID_FILE_EXIT, "…
Could you rate this code?
Programming
Software Development
14 Years Ago
by athlon32
… "defines.h" void AddMenus(HWND hwnd) {
HMENU
hMenubar;
HMENU
hMenu
; hMenubar = CreateMenu();
hMenu
= CreateMenu(); AppendMenu(
hMenu
, MF_STRING, IDM_FILE_NEW, "&New"); AppendMenu…
WinAPI help
Programming
Software Development
14 Years Ago
by vadalaz
…WS_CHILD | WS_VISIBLE, 140, 140, 100, 100, hwnd, (
HMENU
) 5, 0, 0); Tiles[5] = CreateWindowEx(0, TileClass…WS_CHILD | WS_VISIBLE, 260, 140, 100, 100, hwnd, (
HMENU
) 6, 0, 0); Tiles[6] = CreateWindowEx(0, TileClass…WS_CHILD | WS_VISIBLE, 260, 260, 100, 100, hwnd, (
HMENU
) 9, 0, 0); break; case WM_DESTROY: PostQuitMessage(0);…
Re: [win32 - C/C++11] - menu class
Programming
Software Development
9 Years Ago
by cambalinho
…MENUINFO); mnInfo.fMask=MIM_STYLE; mnInfo.dwStyle=MNS_NOTIFYBYPOS; SetMenuInfo(
hMenu
,&mnInfo); and with WM_MENUCOMMAND in main window: …cbSize = sizeof(MENUITEMINFO); menuInfo.fMask = MIIM_ID | MIIM_DATA; fResult = GetMenuItemInfo((
HMENU
)lParam,(UINT) wParam, TRUE, &menuInfo ); if (fResult!=0) {…
Re: [win32] - about HiliteMenuItem() funtion and menu mouse move selection
Programming
Software Development
9 Years Ago
by triumphost
… MenuInfo.fMask = MIM_MENUDATA; GetMenuInfo(reinterpret_cast<
HMENU
>(wParam), &MenuInfo); MenuItem* menu …); ItemInfo.fMask = MIIM_DATA; GetMenuItemInfoW(reinterpret_cast<
HMENU
>(lParam), LOWORD(wParam), isMainMenu, &ItemInfo…
Handling a string constant as a symbolic const name
Programming
Software Development
16 Years Ago
by SonxQ7
…] OnCreate(hwnd,cs,initRecArea(480,45,55,20),(
HMENU
)IDCE_SINGLELINE5); OnCreate(hwnd,cs,initRecArea(480,105,55,20…); OnCreate(hwnd,cs,initRecArea(480,255,55,20),(
HMENU
)IDCE_SINGLELINE12); [/code] Since all these lines are …quot;,cnt); OnCreate(hwnd,cs,initRecArea(205,45,55,20),(
HMENU
)buffer); } [/code] but buffer is a string not…
1
2
3
11
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC