Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChange color of controls of a dialog Pin
Ward31-May-05 0:39
Ward31-May-05 0:39 
GeneralRe: Change color of controls of a dialog Pin
ThatsAlok31-May-05 1:25
ThatsAlok31-May-05 1:25 
GeneralRe: Change color of controls of a dialog Pin
Ward31-May-05 3:46
Ward31-May-05 3:46 
GeneralRe: Change color of controls of a dialog Pin
Cedric Moonen31-May-05 3:56
Cedric Moonen31-May-05 3:56 
GeneralRe: Change color of controls of a dialog Pin
Ward31-May-05 4:14
Ward31-May-05 4:14 
GeneralRe: Change color of controls of a dialog Pin
ThatsAlok31-May-05 19:21
ThatsAlok31-May-05 19:21 
GeneralSoap Toolkit 3.0 Redistributable Pin
SAKURAVN30-May-05 23:54
SAKURAVN30-May-05 23:54 
GeneralNeed help to use the Sort Iist Control with XP-Style! Pin
bosfan30-May-05 23:47
bosfan30-May-05 23:47 
Hi comunity,
i need litle help to use this function to draw a arrow on listcontrolheader, where should i implemented this funcion OnPaint() ??? I coment out this lines in :
// change the item to owner drawn.
/*HD_ITEM hditem;

hditem.mask = HDI_FORMAT;
VERIFY( GetItem( iSortColumn, &hditem ) );
hditem.fmt |= HDF_OWNERDRAW;
VERIFY( SetItem( iSortColumn, &hditem ) );*/

and i change the SortHeaderCtrl.h with the function OnPaint(),
//{{AFX_MSG(CSortHeaderCtrl)
// NOTE - the ClassWizard will add and remove member functions here.
afx_msg void OnPaint();
//}}AFX_MSG

DECLARE_MESSAGE_MAP()

and i change the SortHeaderCtrl.cpp with the function OnPaint(),

where should i call this OnPaint(), witch place in my SortHeaderCtrl.cpp to show an arrow on a Listheader?? I hope you can understand me Frown | :-(

With best regards
Mirsad
GeneralRe: Need help to use the Sort Iist Control with XP-Style! Pin
Jack Puppy31-May-05 3:54
Jack Puppy31-May-05 3:54 
GeneralRe: Need help to use the Sort Iist Control with XP-Style! Pin
Anonymous1-Jun-05 1:22
Anonymous1-Jun-05 1:22 
GeneralRe: Need help to use the Sort Iist Control with XP-Style! Pin
bosfan1-Jun-05 2:23
bosfan1-Jun-05 2:23 
GeneralCListBox with titles Pin
Vaclav30-May-05 23:20
Vaclav30-May-05 23:20 
GeneralRe: CListBox with titles Pin
S Douglas31-May-05 1:04
professionalS Douglas31-May-05 1:04 
GeneralRe: CListBox with titles Pin
David Crow31-May-05 3:38
David Crow31-May-05 3:38 
QuestionShell functions and versions ? Pin
Ramsus30-May-05 23:07
Ramsus30-May-05 23:07 
AnswerRe: Shell functions and versions ? Pin
David Crow31-May-05 3:41
David Crow31-May-05 3:41 
GeneralMultithreaded horror.. Pin
Bob Stanneveld30-May-05 22:04
Bob Stanneveld30-May-05 22:04 
GeneralProblem solved.. Pin
Bob Stanneveld31-May-05 2:38
Bob Stanneveld31-May-05 2:38 
GeneralVisual C++ Pin
Member 150607130-May-05 21:40
Member 150607130-May-05 21:40 
GeneralRe: Visual C++ Pin
Cedric Moonen30-May-05 21:50
Cedric Moonen30-May-05 21:50 
GeneralRe: Visual C++ Pin
toxcct30-May-05 22:26
toxcct30-May-05 22:26 
GeneralRe: Visual C++ Pin
benjymous30-May-05 23:21
benjymous30-May-05 23:21 
GeneralRe: Visual C++ Pin
David Crow31-May-05 3:48
David Crow31-May-05 3:48 
QuestionHow To Create a Transparent Pen? Pin
pritamkd30-May-05 20:45
pritamkd30-May-05 20:45 
Questionhow to display string in debug widow. Pin
shumyla198330-May-05 20:31
shumyla198330-May-05 20:31 

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.