Click here to Skip to main content
       

C / C++ / MFC

 
QuestionHow to use GetLastInputInfo? PinmemberDonguy197610-Apr-13 15:58 
AnswerRe: How to use GetLastInputInfo? Pinprofessional Randor 10-Apr-13 16:16 
GeneralRe: How to use GetLastInputInfo? PinmemberDonguy197611-Apr-13 6:50 
QuestionError for GetLastInputInfo PinmemberDonguy197610-Apr-13 11:36 
AnswerRe: Error for GetLastInputInfo Pinmemberjeron110-Apr-13 11:58 
AnswerRe: Error for GetLastInputInfo Pinprofessional Randor 10-Apr-13 12:51 
GeneralRe: Error for GetLastInputInfo PinmemberDonguy197610-Apr-13 15:57 
QuestionMake a form transparent to mouse depending mouse event? Pinmemberthanh_bkhn9-Apr-13 17: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? Pinmemberpasztorpisti9-Apr-13 22:14 
GeneralRe: Make a form transparent to mouse depending mouse event? Pinmemberthanh_bkhn11-Apr-13 17:51 
GeneralRe: Make a form transparent to mouse depending mouse event? Pinmemberpasztorpisti11-Apr-13 21:14 
GeneralRe: Make a form transparent to mouse depending mouse event? Pinmemberthanh_bkhn14-Apr-13 16:35 
AnswerRe: Make a form transparent to mouse depending mouse event? Pinmemberthanh_bkhn25-Apr-13 23:40 
Questionhow to create a graph in c++? PinmemberMember 99757719-Apr-13 4:48 
QuestionRe: how to create a graph in c++? PinmvpRichard MacCutchan9-Apr-13 5:10 
AnswerRe: how to create a graph in c++? PinmemberStephen Hewitt9-Apr-13 9:49 
AnswerRe: how to create a graph in c++? PinmvpCPallini10-Apr-13 9:56 
AnswerRe: how to create a graph in c++? Pinmemberquuo12-Apr-13 3:01 
QuestionShellExecute to post a command line to an existing cmd windows. Pinmembermpcp9-Apr-13 3:42 
AnswerRe: ShellExecute to post a command line to an existing cmd windows. PinprofessionalJochen Arndt9-Apr-13 4:13 
GeneralRe: ShellExecute to post a command line to an existing cmd windows. Pinmembermpcp11-Apr-13 3:42 
QuestionCatch OnLButtonDblClk in CMainFrame PinmemberFlaviu29-Apr-13 2:59 
AnswerRe: Catch OnLButtonDblClk in CMainFrame PinprofessionalJochen Arndt9-Apr-13 3:46 
GeneralRe: Catch OnLButtonDblClk in CMainFrame [modified] PinmemberFlaviu29-Apr-13 20:44 
QuestionRe: Catch OnLButtonDblClk in CMainFrame PinmvpRichard MacCutchan9-Apr-13 5:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web01 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid