Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to read/write a byte to LPT ? Pin
vikas amin12-Nov-05 19:54
vikas amin12-Nov-05 19:54 
QuestionRegional Settings: Get Hour Difference from UTC and Week Day Name Pin
Axonn Echysttas12-Nov-05 13:19
Axonn Echysttas12-Nov-05 13:19 
AnswerRe: Regional Settings: Get Hour Difference from UTC and Week Day Name Pin
Gary R. Wheeler13-Nov-05 4:50
Gary R. Wheeler13-Nov-05 4:50 
GeneralRe: Regional Settings: Get Hour Difference from UTC and Week Day Name Pin
Axonn Echysttas17-Nov-05 19:35
Axonn Echysttas17-Nov-05 19:35 
QuestionCreate a toplevel window in SDI Pin
AnTri12-Nov-05 9:24
AnTri12-Nov-05 9:24 
AnswerRe: Create a toplevel window in SDI Pin
Trollslayer12-Nov-05 9:59
mentorTrollslayer12-Nov-05 9:59 
GeneralRe: Create a toplevel window in SDI Pin
AnTri12-Nov-05 10:08
AnTri12-Nov-05 10:08 
QuestionSort Arrow Erased on inital drawing Pin
RobertW10012-Nov-05 9:11
RobertW10012-Nov-05 9:11 
Hi,

I am trying to draw Ascending and Descending sort arrows in a ListView Control Header using the WIN32 API. I have handled the NM_CUSTOMDRAW message and everything works ok except for one situation. The first time I click on the header control the column data is sorted properly, but the sort arrow is drawn then immediately erased. If I swap to another window and come back the sort arrow appears in the display. If I click on the same column a second time the arrow is drawn and remains in the display. The problem occurs anytime I click on a column in the header for the first time.

I know there is something I am missing here but being new to WIN32 I don't have a clue what else to try.

Thanks!
AnswerRe: Sort Arrow Erased on inital drawing Pin
Michael Dunn13-Nov-05 12:41
sitebuilderMichael Dunn13-Nov-05 12:41 
QuestionOverloading "operator new" Pin
Obi Wan 212-Nov-05 4:26
Obi Wan 212-Nov-05 4:26 
AnswerRe: Overloading "operator new" Pin
Bob Stanneveld12-Nov-05 4:54
Bob Stanneveld12-Nov-05 4:54 
GeneralRe: Overloading "operator new" Pin
Obi Wan 212-Nov-05 6:00
Obi Wan 212-Nov-05 6:00 
GeneralRe: Overloading "operator new" Pin
Bob Stanneveld13-Nov-05 2:37
Bob Stanneveld13-Nov-05 2:37 
QuestionKeyboard Hook Pin
#realJSOP12-Nov-05 3:39
mve#realJSOP12-Nov-05 3:39 
AnswerRe: Keyboard Hook Pin
Mircea Puiu12-Nov-05 3:44
Mircea Puiu12-Nov-05 3:44 
GeneralRe: Keyboard Hook Pin
#realJSOP12-Nov-05 4:53
mve#realJSOP12-Nov-05 4:53 
GeneralRe: Keyboard Hook Pin
Jack Puppy12-Nov-05 6:14
Jack Puppy12-Nov-05 6:14 
GeneralRe: Keyboard Hook Pin
Mircea Puiu12-Nov-05 9:01
Mircea Puiu12-Nov-05 9:01 
GeneralRe: Keyboard Hook Pin
#realJSOP13-Nov-05 2:09
mve#realJSOP13-Nov-05 2:09 
GeneralRe: Keyboard Hook Pin
Mircea Puiu13-Nov-05 5:06
Mircea Puiu13-Nov-05 5:06 
AnswerRe: Keyboard Hook Pin
Michael Dunn13-Nov-05 12:46
sitebuilderMichael Dunn13-Nov-05 12:46 
QuestionTV Tuner Capture Pin
Identity Undisclosed12-Nov-05 3:36
Identity Undisclosed12-Nov-05 3:36 
AnswerRe: TV Tuner Capture Pin
Digaleet12-Nov-05 12:51
Digaleet12-Nov-05 12:51 
AnswerRe: TV Tuner Capture Pin
LaHaHa12-Nov-05 21:01
LaHaHa12-Nov-05 21:01 
Question*.vcproj Is this a VC++ file Pin
vikas amin12-Nov-05 2:07
vikas amin12-Nov-05 2: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.