Click here to Skip to main content
16,016,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get time zone info for a network computer. Pin
David Crow3-Jun-04 2:53
David Crow3-Jun-04 2:53 
QuestionWhy is my overlapped WriteFile blocking? Pin
JT Anderson2-Jun-04 8:28
JT Anderson2-Jun-04 8:28 
Generalstrng to CString Pin
kfaday2-Jun-04 8:00
kfaday2-Jun-04 8:00 
GeneralRe: strng to CString Pin
David Crow2-Jun-04 8:04
David Crow2-Jun-04 8:04 
GeneralRe: strng to CString Pin
kfaday2-Jun-04 8:29
kfaday2-Jun-04 8:29 
Questionhow to create a pop up menu Pin
kfaday2-Jun-04 7:10
kfaday2-Jun-04 7:10 
AnswerRe: how to create a pop up menu Pin
David Crow2-Jun-04 7:33
David Crow2-Jun-04 7:33 
GeneralRe: how to create a pop up menu Pin
kfaday2-Jun-04 8:51
kfaday2-Jun-04 8:51 
i could fix the assertion.


DavidCrow wrote:
Is there a design reason why double clicking, instead of a right-click, brings up a menu?

in classwizzard, when i go to the list control, there are only 6 or 7 messages, and there isn't onrightclick.

now i've got another problem, i can see the pop up menu, but when i click anywhere else and it 'closes', if i doubleclick again it gives me another assertion error. here's the funtion:

<br />
void CJmnView::OnDblclkListContactos() <br />
{<br />
	popupMenu.LoadMenu(IDR_MENU_POPUP_CTACTOS);<br />
	CMenu* subMenu = popupMenu.GetSubMenu(0);<br />
<br />
	CPoint ptPopup;<br />
	GetCursorPos(&ptPopup);<br />
<br />
	subMenu->TrackPopupMenu(TPM_LEFTALIGN, ptPopup.x, ptPopup.y, this);<br />
}<br />
<br />

GeneralRe: how to create a pop up menu Pin
David Crow2-Jun-04 9:31
David Crow2-Jun-04 9:31 
GeneralRe: how to create a pop up menu Pin
kfaday2-Jun-04 16:51
kfaday2-Jun-04 16:51 
GeneralRe: how to create a pop up menu Pin
David Crow3-Jun-04 2:23
David Crow3-Jun-04 2:23 
GeneralRe: how to create a pop up menu Pin
kfaday3-Jun-04 2:26
kfaday3-Jun-04 2:26 
GeneralRe: how to create a pop up menu Pin
David Crow3-Jun-04 2:44
David Crow3-Jun-04 2:44 
GeneralRe: how to create a pop up menu Pin
kfaday3-Jun-04 6:34
kfaday3-Jun-04 6:34 
Generalreaching other classes Pin
deniz79s2-Jun-04 7:07
deniz79s2-Jun-04 7:07 
GeneralRe: reaching other classes Pin
David Crow2-Jun-04 7:54
David Crow2-Jun-04 7:54 
GeneralGDI+ and ::InvertRect Pin
zhuyie_cn2-Jun-04 6:54
zhuyie_cn2-Jun-04 6:54 
QuestionHow can I add an icon in MS Outlook for a contact ? Pin
Istvan Kozma2-Jun-04 6:09
Istvan Kozma2-Jun-04 6:09 
AnswerRe: How can I add an icon in MS Outlook for a contact ? Pin
toroso732-Jun-04 9:20
toroso732-Jun-04 9:20 
Generaltab control question Pin
blurblur2-Jun-04 5:53
blurblur2-Jun-04 5:53 
GeneralRe: tab control question Pin
Edwin Brunner2-Jun-04 7:30
Edwin Brunner2-Jun-04 7:30 
GeneralRe: tab control question Pin
David Crow2-Jun-04 7:30
David Crow2-Jun-04 7:30 
GeneralVersion number in comment Pin
Robert Pickford2-Jun-04 5:53
Robert Pickford2-Jun-04 5:53 
GeneralRe: Version number in comment Pin
David Crow2-Jun-04 7:28
David Crow2-Jun-04 7:28 
GeneralRe: Version number in comment Pin
Robert Pickford2-Jun-04 22:17
Robert Pickford2-Jun-04 22:17 

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.