Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help on how to vertical scroll bar to my dialog box Pin
John5024-Feb-09 4:47
John5024-Feb-09 4:47 
GeneralRe: Need help on how to vertical scroll bar to my dialog box Pin
John5024-Feb-09 7:31
John5024-Feb-09 7:31 
AnswerRe: Need help on how to vertical scroll bar to my dialog box Pin
Stuart Dootson4-Feb-09 1:37
professionalStuart Dootson4-Feb-09 1:37 
QuestionHow do i draw line on picture control? Pin
z01e3-Feb-09 23:15
z01e3-Feb-09 23:15 
AnswerRe: How do i draw line on picture control? Pin
Hamid_RT3-Feb-09 23:57
Hamid_RT3-Feb-09 23:57 
GeneralRe: How do i draw line on picture control? Pin
z01e4-Feb-09 0:12
z01e4-Feb-09 0:12 
GeneralRe: How do i draw line on picture control? Pin
Stuart Dootson4-Feb-09 1:34
professionalStuart Dootson4-Feb-09 1:34 
AnswerRe: How do i draw line on picture control? Pin
Nishad S4-Feb-09 0:38
Nishad S4-Feb-09 0:38 
I assume that you are having a dialog based app with MFC support.

In the dialog, you are having a static rectangle (picture control) with SS_NOTIFY style (Notify can be selected in the Properties > Styles of picture control) named IDC_PIC.

You need to derive a class of CStatic. In that you can code for mouse events. Create a control variable of your IDC_PIC with this new class.

Hope now you can continue... Smile | :)

- ns ami -

QuestionUsing GetClientRect() and ExtTextOut() Pin
Abhinay Kumar3-Feb-09 22:52
Abhinay Kumar3-Feb-09 22:52 
AnswerRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat3-Feb-09 23:06
Code-o-mat3-Feb-09 23:06 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar3-Feb-09 23:32
Abhinay Kumar3-Feb-09 23:32 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat3-Feb-09 23:45
Code-o-mat3-Feb-09 23:45 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar3-Feb-09 23:55
Abhinay Kumar3-Feb-09 23:55 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat4-Feb-09 1:25
Code-o-mat4-Feb-09 1:25 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 2:40
Abhinay Kumar4-Feb-09 2:40 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat4-Feb-09 2:49
Code-o-mat4-Feb-09 2:49 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 2:56
Abhinay Kumar4-Feb-09 2:56 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Code-o-mat4-Feb-09 3:15
Code-o-mat4-Feb-09 3:15 
GeneralRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 3:33
Abhinay Kumar4-Feb-09 3:33 
QuestionRe: Using GetClientRect() and ExtTextOut() Pin
David Crow4-Feb-09 3:22
David Crow4-Feb-09 3:22 
AnswerRe: Using GetClientRect() and ExtTextOut() Pin
Abhinay Kumar4-Feb-09 3:37
Abhinay Kumar4-Feb-09 3:37 
Questionproblem in vc++ project Pin
kir_MFC3-Feb-09 21:50
kir_MFC3-Feb-09 21:50 
AnswerRe: problem in vc++ project Pin
Smith#3-Feb-09 21:55
Smith#3-Feb-09 21:55 
AnswerRe: problem in vc++ project Pin
Nishad S3-Feb-09 22:11
Nishad S3-Feb-09 22:11 
QuestionRe: problem in vc++ project Pin
David Crow4-Feb-09 3:24
David Crow4-Feb-09 3:24 

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.