Click here to Skip to main content
16,015,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to display full column length in SQL Pin
Alvaro Mendez6-Mar-03 5:31
Alvaro Mendez6-Mar-03 5:31 
GeneralRe: How to display full column length in SQL Pin
IrishSonic6-Mar-03 11:20
IrishSonic6-Mar-03 11:20 
GeneralDll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Farrukh4u5-Mar-03 23:49
Farrukh4u5-Mar-03 23:49 
GeneralRe: Dll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Hans Ruck6-Mar-03 0:23
Hans Ruck6-Mar-03 0:23 
GeneralRe: Dll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Farrukh4u10-Mar-03 23:17
Farrukh4u10-Mar-03 23:17 
GeneralRe: Dll problem, A call to AfxGetResourceHandle() results in Debug Assertion Failure. Pin
Hans Ruck13-Mar-03 0:39
Hans Ruck13-Mar-03 0:39 
GeneralSingle Document in MDI app or.... Pin
luedi5-Mar-03 22:55
luedi5-Mar-03 22:55 
GeneralDetect event 2 Pin
jeremysay5-Mar-03 22:45
jeremysay5-Mar-03 22:45 
hello,
i'm working with ListCtrl in VC7.
i'm trying to detect if in "MouseMove" event the Left Button mouse is Down(Thx Thomas George & Joel Lucsy ) but i have a little problem
i do :

<br />
BOOL ClistctrlView::PreTranslateMessage(MSG* pMsg)<br />
{<br />
// TODO : ajoutez ici votre code spécialisé et/ou l'appel de la classe de base<br />
<br />
if (pMsg->Message == WM_LBUTTONDOWN)<br />
{<br />
ButtonDown = TRUE;<br />
}<br />
if (pMsg->Message == WM_LBUTTONUP)<br />
{<br />
ButtonDown = FALSE;<br />
}<br />
if (pMsg->Message == WM_MOUSEMOVE)<br />
{<br />
if (ButtonDown == TRUE)<br />
{<br />
AfxMessageBox("goooood");<br />
}<br />
//OR <br />
<br />
if (pMsg->Wparam & MK_LBUTTON)<br />
{<br />
AfxMessageBox("goooood");<br />
}<br />
<br />
}<br />
return CListView::PreTranslateMessage(pMsg);<br />
}


I can Detect WM_LBUTTONDOWN, LBUTTONUP, MOUSEMOVE but if i want to detect in MouseMove if The left button is down it doesn't work !!!
And if i try this code in "CView" object, it works great !
any ideas ??
Thx in advance
GeneralRe: Detect event 2 Pin
Rage5-Mar-03 23:21
professionalRage5-Mar-03 23:21 
GeneralRe: Detect event 2 Pin
Anonymous6-Mar-03 0:27
Anonymous6-Mar-03 0:27 
GeneralRe: Detect event 2 Pin
jeremysay6-Mar-03 1:31
jeremysay6-Mar-03 1:31 
QuestionHow to minimize the main window and the child windows to remain on the desktop? Pin
julych5-Mar-03 22:30
julych5-Mar-03 22:30 
AnswerRe: How to minimize the main window and the child windows to remain on the desktop? Pin
MAAK5-Mar-03 23:51
MAAK5-Mar-03 23:51 
GeneralExcel automation Pin
Rage5-Mar-03 20:41
professionalRage5-Mar-03 20:41 
GeneralRe: Excel automation Pin
HENDRIK R5-Mar-03 21:07
HENDRIK R5-Mar-03 21:07 
GeneralRe: Excel automation Pin
Rage5-Mar-03 22:14
professionalRage5-Mar-03 22:14 
GeneralRe: Excel automation Pin
HENDRIK R5-Mar-03 22:51
HENDRIK R5-Mar-03 22:51 
GeneralRe: Excel automation Pin
Rage5-Mar-03 23:16
professionalRage5-Mar-03 23:16 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 0:27
HENDRIK R6-Mar-03 0:27 
GeneralRe: Excel automation Pin
Rage6-Mar-03 0:50
professionalRage6-Mar-03 0:50 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 1:17
HENDRIK R6-Mar-03 1:17 
GeneralRe: Excel automation Pin
Rage6-Mar-03 1:29
professionalRage6-Mar-03 1:29 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 1:48
HENDRIK R6-Mar-03 1:48 
QuestionStacked tabs in a property sheet? Pin
Joan M5-Mar-03 20:35
professionalJoan M5-Mar-03 20:35 
AnswerRe: Stacked tabs in a property sheet? Pin
Ted Ferenc5-Mar-03 21:37
Ted Ferenc5-Mar-03 21:37 

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.