Click here to Skip to main content
15,886,137 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Pointers Pin
Jun Du23-Jun-06 8:52
Jun Du23-Jun-06 8:52 
GeneralRe: Pointers Pin
Jay0323-Jun-06 9:19
Jay0323-Jun-06 9:19 
GeneralRe: Pointers Pin
Zac Howland23-Jun-06 10:08
Zac Howland23-Jun-06 10:08 
GeneralRe: Pointers Pin
Jun Du23-Jun-06 10:30
Jun Du23-Jun-06 10:30 
GeneralRe: Pointers Pin
Jun Du23-Jun-06 10:15
Jun Du23-Jun-06 10:15 
Questionaccessing an ftp server Pin
LCI23-Jun-06 8:15
LCI23-Jun-06 8:15 
AnswerRe: accessing an ftp server [modified] Pin
LCI23-Jun-06 10:39
LCI23-Jun-06 10:39 
QuestionTrapping the Mouse Pin
Scott P. Chapman23-Jun-06 7:42
Scott P. Chapman23-Jun-06 7:42 
My first post, here. Hope you can help.

Two questions.

1. In a CListCtrl displayed in Report view mode, with a header labeling the columns, I need to trap a mouse right button down message with the cursor in the header. The control has a native function to trap the left mouse button on a click in the header, but neither control nor the dialog are able to see the right mouse button when the header is clicked. It would also be nice to have MFC tell me which column was clicked, but I can do that with a little math on the mouse position and the CHeaderCtrl pointer. (NOTE: I have tried subclassing the CListCtrl CHeaderCtrl member to no avail.)

2. The dialog in question is resizeable. I want to resize and relocate controls on the dialog when it is resized. I can do that in the OnSizing() handler but redraw is very clumsy. I'd rather do it all at once when the resize has stopped. However I can't seem to detect the left mouse button up message from the dialog when the mouse is moving the dialog border. Any way to detect when resizing has finished?

Development is in Visual Studio .Net Professional, 2003 edition

Any suggestions?

Thanks in advance

Scott

Scott P. Chapman
Voss Scientific Inc.
scottc@vosssci.com
QuestionNetscape plugin question (C++) Pin
Dennis Gourjii23-Jun-06 7:14
Dennis Gourjii23-Jun-06 7:14 
Questiontwo toolBars side by side Pin
LeeeNN23-Jun-06 7:14
LeeeNN23-Jun-06 7:14 
AnswerRe: two toolBars side by side [modified] Pin
ovidiucucu24-Jun-06 6:33
ovidiucucu24-Jun-06 6:33 
GeneralRe: two toolBars side by side Pin
LeeeNN24-Jun-06 13:12
LeeeNN24-Jun-06 13:12 
Questionmodules Pin
Tara1423-Jun-06 5:55
Tara1423-Jun-06 5:55 
AnswerRe: modules Pin
Jun Du23-Jun-06 5:56
Jun Du23-Jun-06 5:56 
QuestionRe: modules Pin
Tara1423-Jun-06 6:00
Tara1423-Jun-06 6:00 
AnswerRe: modules Pin
Zac Howland23-Jun-06 6:08
Zac Howland23-Jun-06 6:08 
GeneralRe: modules Pin
Tara1423-Jun-06 6:18
Tara1423-Jun-06 6:18 
GeneralRe: modules Pin
Zac Howland23-Jun-06 6:22
Zac Howland23-Jun-06 6:22 
AnswerRe: modules Pin
Jun Du23-Jun-06 6:13
Jun Du23-Jun-06 6:13 
AnswerRe: modules Pin
David Crow23-Jun-06 6:28
David Crow23-Jun-06 6:28 
GeneralRe: modules Pin
Tara1423-Jun-06 6:33
Tara1423-Jun-06 6:33 
GeneralRe: modules Pin
Jun Du23-Jun-06 7:05
Jun Du23-Jun-06 7:05 
GeneralRe: modules Pin
Tara1423-Jun-06 7:44
Tara1423-Jun-06 7:44 
GeneralRe: modules Pin
David Crow23-Jun-06 7:23
David Crow23-Jun-06 7:23 
QuestionChange Display mode??? Pin
Lord_Vader23-Jun-06 4:52
Lord_Vader23-Jun-06 4:52 

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.