Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: get line range with C++ (word 2010) Pin
Jochen Arndt31-Jul-12 21:31
professionalJochen Arndt31-Jul-12 21:31 
GeneralRe: get line range with C++ (word 2010) Pin
BCN-1632-Aug-12 16:12
BCN-1632-Aug-12 16:12 
QuestionCTreeCtrl scrollbar not worked properly for large data. Pin
Le@rner31-Jul-12 1:34
Le@rner31-Jul-12 1:34 
GeneralRe: CTreeCtrl scrollbar not worked properly for large data. Pin
CPallini31-Jul-12 1:59
mveCPallini31-Jul-12 1:59 
GeneralRe: CTreeCtrl scrollbar not worked properly for large data. Pin
Le@rner31-Jul-12 2:17
Le@rner31-Jul-12 2:17 
GeneralRe: CTreeCtrl scrollbar not worked properly for large data. Pin
CPallini31-Jul-12 2:25
mveCPallini31-Jul-12 2:25 
QuestionC++ Win32 drawing Pin
Xarzu30-Jul-12 19:07
Xarzu30-Jul-12 19:07 
AnswerRe: C++ Win32 drawing Pin
«_Superman_»30-Jul-12 19:53
professional«_Superman_»30-Jul-12 19:53 
You can use the Windows GDI functions like Rectangle, Ellipse, TextOut, LineTo, MoveTo etc. to draw in the window. Each of these functions take a device context (DC) as its first parameter. It is this device context that determines where the drawing appears. In your case use the GetDC function with the handle to the window to get the device context of the window where you want to draw.
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

AnswerRe: C++ Win32 drawing Pin
Richard MacCutchan30-Jul-12 21:58
mveRichard MacCutchan30-Jul-12 21:58 
AnswerRe: C++ Win32 drawing Pin
pasztorpisti31-Jul-12 2:44
pasztorpisti31-Jul-12 2:44 
AnswerRe: C++ Win32 drawing Pin
Albert Holguin31-Jul-12 7:07
professionalAlbert Holguin31-Jul-12 7:07 
Generalwebservice client in c/c++ Pin
sangamdumne30-Jul-12 18:52
sangamdumne30-Jul-12 18:52 
GeneralRe: webservice client in c/c++ Pin
«_Superman_»30-Jul-12 19:56
professional«_Superman_»30-Jul-12 19:56 
GeneralRe: webservice client in c/c++ Pin
sangamdumne30-Jul-12 23:20
sangamdumne30-Jul-12 23:20 
GeneralRe: webservice client in c/c++ Pin
Software_Developer30-Jul-12 23:42
Software_Developer30-Jul-12 23:42 
AnswerRe: webservice client in c/c++ Pin
Albert Holguin31-Jul-12 7:11
professionalAlbert Holguin31-Jul-12 7:11 
QuestionMFC design pattern Pin
shanmugarajaa30-Jul-12 18:50
shanmugarajaa30-Jul-12 18:50 
AnswerRe: MFC design pattern Pin
_Flaviu30-Jul-12 20:27
_Flaviu30-Jul-12 20:27 
AnswerRe: MFC design pattern Pin
Richard MacCutchan30-Jul-12 21:55
mveRichard MacCutchan30-Jul-12 21:55 
GeneralRe: MFC design pattern Pin
pasztorpisti31-Jul-12 2:46
pasztorpisti31-Jul-12 2:46 
GeneralRe: MFC design pattern Pin
Richard MacCutchan31-Jul-12 3:01
mveRichard MacCutchan31-Jul-12 3:01 
GeneralRe: MFC design pattern Pin
pasztorpisti31-Jul-12 3:04
pasztorpisti31-Jul-12 3:04 
GeneralRe: MFC design pattern Pin
pasztorpisti31-Jul-12 2:50
pasztorpisti31-Jul-12 2:50 
GeneralRe: MFC design pattern Pin
Maximilien31-Jul-12 10:56
Maximilien31-Jul-12 10:56 
GeneralRe: MFC design pattern Pin
pasztorpisti31-Jul-12 11:07
pasztorpisti31-Jul-12 11:07 

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.