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

C / C++ / MFC

 
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 
AnswerRe: how to force paint a view in MFC. Pin
CPallini28-Jan-09 21:08
mveCPallini28-Jan-09 21:08 
GeneralRe: how to force paint a view in MFC. Pin
nitin328-Jan-09 21:53
nitin328-Jan-09 21:53 
QuestionRe: how to force paint a view in MFC. Pin
Nishad S28-Jan-09 22:16
Nishad S28-Jan-09 22:16 
GeneralRe: how to force paint a view in MFC. Pin
Hamid_RT29-Jan-09 1:03
Hamid_RT29-Jan-09 1:03 
GeneralRe: how to force paint a view in MFC. Pin
CPallini29-Jan-09 2:15
mveCPallini29-Jan-09 2:15 
JokeRe: how to force paint a view in MFC. Pin
prasad_som28-Jan-09 23:25
prasad_som28-Jan-09 23:25 
AnswerRe: how to force paint a view in MFC. Pin
Hamid_RT29-Jan-09 1:06
Hamid_RT29-Jan-09 1:06 
QuestionHow to Set Tab order for dynamically created controls like CButton,CEdit Pin
Abhijit D. Babar28-Jan-09 18:45
Abhijit D. Babar28-Jan-09 18:45 
AnswerRe: How to Set Tab order for dynamically created controls like CButton,CEdit Pin
nitin328-Jan-09 19:28
nitin328-Jan-09 19:28 
GeneralRe: How to Set Tab order for dynamically created controls like CButton,CEdit Pin
Abhijit D. Babar28-Jan-09 20:08
Abhijit D. Babar28-Jan-09 20:08 
AnswerRe: How to Set Tab order for dynamically created controls like CButton,CEdit Pin
SandipG 28-Jan-09 19:50
SandipG 28-Jan-09 19:50 
AnswerRe: How to Set Tab order for dynamically created controls like CButton,CEdit Pin
«_Superman_»28-Jan-09 21:01
professional«_Superman_»28-Jan-09 21:01 
AnswerRe: How to Set Tab order for dynamically created controls like CButton,CEdit Pin
Hamid_RT29-Jan-09 0:59
Hamid_RT29-Jan-09 0:59 
QuestionReplacement of CORBA Pin
ptr_Electron28-Jan-09 18:15
ptr_Electron28-Jan-09 18:15 
AnswerRe: Replacement of CORBA Pin
Cedric Moonen28-Jan-09 21:16
Cedric Moonen28-Jan-09 21:16 

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.