Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioninstalled software Pin
aaasrgm28-Jan-09 22:48
aaasrgm28-Jan-09 22:48 
AnswerPlease ignore Repost.. Pin
SandipG 28-Jan-09 23:15
SandipG 28-Jan-09 23:15 
AnswerRe: installed software Pin
Chandrasekharan P28-Jan-09 23:16
Chandrasekharan P28-Jan-09 23:16 
QuestionMSFLXGRD problem in 64bit machine (MFC/C++) Pin
raesa28-Jan-09 21:59
raesa28-Jan-09 21:59 
AnswerRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
«_Superman_»28-Jan-09 22:17
professional«_Superman_»28-Jan-09 22:17 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
raesa28-Jan-09 22:22
raesa28-Jan-09 22:22 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
«_Superman_»28-Jan-09 22:32
professional«_Superman_»28-Jan-09 22:32 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
raesa28-Jan-09 23:13
raesa28-Jan-09 23:13 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
«_Superman_»28-Jan-09 23:50
professional«_Superman_»28-Jan-09 23:50 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
raesa29-Jan-09 0:35
raesa29-Jan-09 0:35 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
«_Superman_»29-Jan-09 1:28
professional«_Superman_»29-Jan-09 1:28 
GeneralRe: MSFLXGRD problem in 64bit machine (MFC/C++) Pin
raesa29-Jan-09 18:21
raesa29-Jan-09 18:21 
QuestionCalling a function from another program Pin
Tom Hubin28-Jan-09 21:17
Tom Hubin28-Jan-09 21:17 
AnswerRe: Calling a function from another program Pin
Stuart Dootson28-Jan-09 22:14
professionalStuart Dootson28-Jan-09 22:14 
GeneralRe: Calling a function from another program Pin
Tom Hubin29-Jan-09 19:06
Tom Hubin29-Jan-09 19:06 
GeneralRe: Calling a function from another program Pin
Tom Hubin29-Jan-09 19:25
Tom Hubin29-Jan-09 19:25 
GeneralRe: Calling a function from another program Pin
Stuart Dootson29-Jan-09 23:22
professionalStuart Dootson29-Jan-09 23:22 
GeneralRe: Calling a function from another program Pin
Tom Hubin30-Jan-09 11:18
Tom Hubin30-Jan-09 11:18 
GeneralRe: Calling a function from another program Pin
Stuart Dootson31-Jan-09 0:00
professionalStuart Dootson31-Jan-09 0:00 
AnswerRe: Calling a function from another program Pin
«_Superman_»28-Jan-09 22:14
professional«_Superman_»28-Jan-09 22:14 
QuestionHow can set UP and DOWN arrow in header of CListCtrl? [modified] Pin
Le@rner28-Jan-09 19:39
Le@rner28-Jan-09 19:39 
AnswerRe: How can set UP and DOWN arrow in sorted column in CListCtrl? Pin
SandipG 28-Jan-09 19:45
SandipG 28-Jan-09 19:45 
AnswerRe: How can set UP and DOWN arrow in header of CListCtrl? Pin
Stuart Dootson28-Jan-09 21:57
professionalStuart Dootson28-Jan-09 21:57 
The way it's done in the sorted list view control in the WTL library[^] is to use the hbm member of the HDITEM[^] attribute of the header of the sorted column to set an up arrow or down arrow bitmap for the header. If you tell the bitmap to be to the right of the header's text, you'll get the effect you're wanting.

The bitmaps are available in shell32.dll as image resources 133 and 134.

You can learn a lot about this by looking at the implementation of CSortListViewImpl in the file atlctrlx.h in WTL...

The SetSortColumn method of this class shows how to set the bitmaps correctly, while the CreateSortBitmaps method shows how to create the bitmaps.
Questionhow to force paint a view in MFC. Pin
VC++Maniac28-Jan-09 19:24
VC++Maniac28-Jan-09 19:24 
AnswerRe: how to force paint a view in MFC. Pin
SandipG 28-Jan-09 19:42
SandipG 28-Jan-09 19:42 

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.