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

C / C++ / MFC

 
GeneralRe: Doubt in ICON resource Pin
Hamid_RT12-May-06 20:12
Hamid_RT12-May-06 20:12 
AnswerRe: Doubt in ICON resource Pin
ThatsAlok12-May-06 20:30
ThatsAlok12-May-06 20:30 
GeneralRe: Doubt in ICON resource Pin
Anu_Bala12-May-06 22:41
Anu_Bala12-May-06 22:41 
GeneralRe: Doubt in ICON resource Pin
ThatsAlok13-May-06 3:04
ThatsAlok13-May-06 3:04 
AnswerRe: Doubt in ICON resource Pin
PJ Arends13-May-06 9:27
professionalPJ Arends13-May-06 9:27 
Questioncrazyyyy..Function listing not shown in VS Pin
ppatel56712-May-06 18:30
ppatel56712-May-06 18:30 
AnswerRe: crazyyyy..Function listing not shown in VS Pin
ThatsAlok12-May-06 20:36
ThatsAlok12-May-06 20:36 
QuestionDrawing my own list control question Pin
YaronNir12-May-06 11:12
YaronNir12-May-06 11:12 
suppose i have a list control which i draw a vertical gradient as the background.

now, suppose i want to draw the state of selection. my code should be as follows:

if (bIsItemSelected)
{
    ..... draw the selected item
}
else
{
    .... just draw the text and erase any previous selected drawings
}


problem is that if an item once was selected,and now i am changing to an other item, the selected item (origin one) keeps it selected drawing rectangle....
i'm not sure how to erase it, since i am using a vertical gradient as the list background....

is there a way (maybe using blt?) to tell the list just to draw the text but as transparent?
and erase any previous selected rectangles that may have been drawn?

thanks in advanced
yaron


Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp

don't forget to vote Smile | :)


-- modified at 17:13 Friday 12th May, 2006
AnswerRe: Drawing my own list control question Pin
led mike12-May-06 11:45
led mike12-May-06 11:45 
GeneralRe: Drawing my own list control question Pin
YaronNir13-May-06 0:41
YaronNir13-May-06 0:41 
QuestionCListCtrl OwnerDrawFixed serious problem Pin
YaronNir12-May-06 9:04
YaronNir12-May-06 9:04 
AnswerRe: CListCtrl OwnerDrawFixed serious problem Pin
Michael Dunn12-May-06 9:56
sitebuilderMichael Dunn12-May-06 9:56 
GeneralRe: CListCtrl OwnerDrawFixed serious problem Pin
YaronNir12-May-06 10:00
YaronNir12-May-06 10:00 
GeneralRe: CListCtrl OwnerDrawFixed serious problem Pin
YaronNir12-May-06 10:48
YaronNir12-May-06 10:48 
QuestionC++ .NET & DLL Pin
Cantona2k12-May-06 8:18
Cantona2k12-May-06 8:18 
AnswerRe: C++ .NET & DLL Pin
Andy Moore12-May-06 9:09
Andy Moore12-May-06 9:09 
AnswerRe: C++ .NET & DLL Pin
toxcct12-May-06 10:03
toxcct12-May-06 10:03 
GeneralRe: C++ .NET & DLL Pin
ThatsAlok12-May-06 20:55
ThatsAlok12-May-06 20:55 
GeneralRe: C++ .NET & DLL Pin
shadrach_india12-May-06 23:26
shadrach_india12-May-06 23:26 
GeneralRe: C++ .NET & DLL Pin
Cantona2k13-May-06 23:23
Cantona2k13-May-06 23:23 
GeneralRe: C++ .NET & DLL Pin
Cantona2k14-May-06 5:55
Cantona2k14-May-06 5:55 
QuestionHow to unlock an application associated file? Pin
HumanOsc12-May-06 7:39
HumanOsc12-May-06 7:39 
AnswerRe: How to unlock an application associated file? Pin
toxcct12-May-06 9:57
toxcct12-May-06 9:57 
GeneralRe: How to unlock an application associated file? Pin
HumanOsc12-May-06 10:28
HumanOsc12-May-06 10:28 
QuestionCHTMLView Bug with IE 7 Pin
HaraldS12-May-06 7:30
HaraldS12-May-06 7:30 

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.