Click here to Skip to main content
12,070,351 members (51,926 online)

C / C++ / MFC

 
QuestionHow to use GetLastInputInfo? Pin
Donguy197610-Apr-13 16:58
memberDonguy197610-Apr-13 16:58 
AnswerRe: How to use GetLastInputInfo? Pin
Randor 10-Apr-13 17:16
professional Randor 10-Apr-13 17:16 
GeneralRe: How to use GetLastInputInfo? Pin
Donguy197611-Apr-13 7:50
memberDonguy197611-Apr-13 7:50 
QuestionError for GetLastInputInfo Pin
Donguy197610-Apr-13 12:36
memberDonguy197610-Apr-13 12:36 
AnswerRe: Error for GetLastInputInfo Pin
jeron110-Apr-13 12:58
memberjeron110-Apr-13 12:58 
AnswerRe: Error for GetLastInputInfo Pin
Randor 10-Apr-13 13:51
professional Randor 10-Apr-13 13:51 
GeneralRe: Error for GetLastInputInfo Pin
Donguy197610-Apr-13 16:57
memberDonguy197610-Apr-13 16:57 
QuestionMake a form transparent to mouse depending mouse event? Pin
thanh_bkhn9-Apr-13 18:01
memberthanh_bkhn9-Apr-13 18:01 
Dear all,

I want to write a program in which the main form will transparent to mouse, but the requirement is: when I click on the form, it will turn transparent and let the mouse click through it, but when I drag the mouse, the form will not be transparent so that I can draw on it.
I found many articles teaching how to make a transparent form to mouse by using layered window with ModifyStyleEx and WS_EX_TRANSPARENT bit turned on. But when I press the mouse down, the form looses focus so I cannot catch whenever the mouse is clicked or dragged.
Does anyone have an idea?
Thanks in advance.
AnswerRe: Make a form transparent to mouse depending mouse event? Pin
pasztorpisti9-Apr-13 23:14
memberpasztorpisti9-Apr-13 23:14 
GeneralRe: Make a form transparent to mouse depending mouse event? Pin
thanh_bkhn11-Apr-13 18:51
memberthanh_bkhn11-Apr-13 18:51 
GeneralRe: Make a form transparent to mouse depending mouse event? Pin
pasztorpisti11-Apr-13 22:14
memberpasztorpisti11-Apr-13 22:14 
GeneralRe: Make a form transparent to mouse depending mouse event? Pin
thanh_bkhn14-Apr-13 17:35
memberthanh_bkhn14-Apr-13 17:35 
AnswerRe: Make a form transparent to mouse depending mouse event? Pin
thanh_bkhn26-Apr-13 0:40
memberthanh_bkhn26-Apr-13 0:40 
Questionhow to create a graph in c++? Pin
Member 99757719-Apr-13 5:48
memberMember 99757719-Apr-13 5:48 
QuestionRe: how to create a graph in c++? Pin
Richard MacCutchan9-Apr-13 6:10
mvpRichard MacCutchan9-Apr-13 6:10 
AnswerRe: how to create a graph in c++? Pin
Stephen Hewitt9-Apr-13 10:49
memberStephen Hewitt9-Apr-13 10:49 
AnswerRe: how to create a graph in c++? Pin
CPallini10-Apr-13 10:56
mvpCPallini10-Apr-13 10:56 
AnswerRe: how to create a graph in c++? Pin
quuo12-Apr-13 4:01
memberquuo12-Apr-13 4:01 
QuestionShellExecute to post a command line to an existing cmd windows. Pin
mpcp9-Apr-13 4:42
membermpcp9-Apr-13 4:42 
AnswerRe: ShellExecute to post a command line to an existing cmd windows. Pin
Jochen Arndt9-Apr-13 5:13
professionalJochen Arndt9-Apr-13 5:13 
GeneralRe: ShellExecute to post a command line to an existing cmd windows. Pin
mpcp11-Apr-13 4:42
membermpcp11-Apr-13 4:42 
QuestionCatch OnLButtonDblClk in CMainFrame Pin
Flaviu29-Apr-13 3:59
memberFlaviu29-Apr-13 3:59 
AnswerRe: Catch OnLButtonDblClk in CMainFrame Pin
Jochen Arndt9-Apr-13 4:46
professionalJochen Arndt9-Apr-13 4:46 
GeneralRe: Catch OnLButtonDblClk in CMainFrame Pin
Flaviu29-Apr-13 21:44
memberFlaviu29-Apr-13 21:44 
QuestionRe: Catch OnLButtonDblClk in CMainFrame Pin
Richard MacCutchan9-Apr-13 6:09
mvpRichard MacCutchan9-Apr-13 6:09 

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.


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 10 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid