Click here to Skip to main content
15,923,852 members
Home / Discussions / Mobile
   

Mobile

 
Generalassociate icon w/program app Pin
shirleyLo23-Jun-03 3:16
shirleyLo23-Jun-03 3:16 
GeneralRe: associate icon w/program app Pin
Anonymous3-Jul-03 15:10
Anonymous3-Jul-03 15:10 
Questionhow to detect windows shortcut key in the keyboard on H/PC .....!!!! Pin
AKSIVAKUMAR22-Jun-03 22:55
AKSIVAKUMAR22-Jun-03 22:55 
GeneralDesktoptoDevice Api Pin
Anthony988722-Jun-03 9:49
Anthony988722-Jun-03 9:49 
GeneralAoto Suspend Pin
VS____20-Jun-03 12:06
VS____20-Jun-03 12:06 
GeneralRe: Aoto Suspend Pin
Jonas Larsson22-Jun-03 20:24
Jonas Larsson22-Jun-03 20:24 
GeneralProblem disabling submenu item (Repost for Co-worker ) Pin
#realJSOP20-Jun-03 1:14
professional#realJSOP20-Jun-03 1:14 
GeneralRe: Problem disabling submenu item (Repost for Co-worker ) Pin
João Paulo Figueira20-Jun-03 7:16
professionalJoão Paulo Figueira20-Jun-03 7:16 
I did some research on this and found the following (file winfrm.cpp, line 1607 of the MFC sources):
if (state.m_nID == (UINT)-1)
{
	// possibly a popup menu, route to first item of that popup
	state.m_pSubMenu = pMenu->GetSubMenu(state.m_nIndex);
	if (state.m_pSubMenu == NULL ||
		(state.m_nID = state.m_pSubMenu->GetMenuItemID(0)) == 0 ||
		state.m_nID == (UINT)-1)
	{
		continue;       // first item of popup can't be routed to
	}
	state.DoUpdate(this, FALSE);    // popups are never auto disabled
}
else
{
	// normal menu item
	// Auto enable/disable if frame window has 'm_bAutoMenuEnable'
	//    set and command is _not_ a system command.
	state.m_pSubMenu = NULL;
	state.DoUpdate(this, m_bAutoMenuEnable && state.m_nID < 0xF000);
}

This seems to imply that MFC does not allow that.
GeneralRe: Problem disabling submenu item (Repost for Co-worker ) Pin
#realJSOP20-Jun-03 7:22
professional#realJSOP20-Jun-03 7:22 
GeneralRe: Problem disabling submenu item (Repost for Co-worker ) Pin
Travis10112-Aug-03 11:36
Travis10112-Aug-03 11:36 
GeneralShutting an App Down *Completely* Pin
#realJSOP20-Jun-03 0:32
professional#realJSOP20-Jun-03 0:32 
GeneralRe: Shutting an App Down *Completely* Pin
Mariz20-Jun-03 3:17
Mariz20-Jun-03 3:17 
GeneralRe: Shutting an App Down *Completely* Pin
#realJSOP20-Jun-03 5:07
professional#realJSOP20-Jun-03 5:07 
GeneralRe: Shutting an App Down *Completely* Pin
Atlantys24-Jun-03 5:27
Atlantys24-Jun-03 5:27 
GeneralRe: Shutting an App Down *Completely* Pin
#realJSOP25-Jun-03 0:01
professional#realJSOP25-Jun-03 0:01 
GeneralRe: Shutting an App Down *Completely* Pin
Atlantys25-Jun-03 7:23
Atlantys25-Jun-03 7:23 
GeneralRe: Shutting an App Down *Completely* Pin
#realJSOP26-Jun-03 1:20
professional#realJSOP26-Jun-03 1:20 
GeneralRe: Shutting an App Down *Completely* Pin
João Paulo Figueira19-Aug-03 1:05
professionalJoão Paulo Figueira19-Aug-03 1:05 
QuestionHow to acessing keyboard inputs in non-MFC applications for H/PC 2.11 Pin
AKSIVAKUMAR19-Jun-03 19:25
AKSIVAKUMAR19-Jun-03 19:25 
GeneralCPropertySheet stuff Pin
#realJSOP19-Jun-03 8:56
professional#realJSOP19-Jun-03 8:56 
GeneralRe: CPropertySheet stuff Pin
João Paulo Figueira19-Jun-03 9:31
professionalJoão Paulo Figueira19-Jun-03 9:31 
GeneralRe: CPropertySheet stuff Pin
#realJSOP19-Jun-03 9:53
professional#realJSOP19-Jun-03 9:53 
GeneralRe: CPropertySheet stuff Pin
João Paulo Figueira19-Jun-03 22:31
professionalJoão Paulo Figueira19-Jun-03 22:31 
GeneralRe: CPropertySheet stuff Pin
#realJSOP20-Jun-03 0:30
professional#realJSOP20-Jun-03 0:30 
GeneralRe: CPropertySheet stuff Pin
#realJSOP20-Jun-03 4:51
professional#realJSOP20-Jun-03 4:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.