Click here to Skip to main content
15,902,635 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsubclassing/superclassing a button Pin
Niamorh10-Jan-07 8:13
Niamorh10-Jan-07 8:13 
AnswerRe: subclassing/superclassing a button Pin
Mark Salsbery10-Jan-07 8:36
Mark Salsbery10-Jan-07 8:36 
GeneralRe: subclassing/superclassing a button Pin
Niamorh11-Jan-07 4:20
Niamorh11-Jan-07 4:20 
GeneralRe: subclassing/superclassing a button Pin
Mark Salsbery11-Jan-07 4:37
Mark Salsbery11-Jan-07 4:37 
QuestionOpen File Dialog PocketPC Pin
Like2Byte10-Jan-07 8:08
Like2Byte10-Jan-07 8:08 
QuestionImageList_DrawIndirect Problem! Pin
r3dqu33n10-Jan-07 6:15
r3dqu33n10-Jan-07 6:15 
QuestionRe: ImageList_DrawIndirect Problem! Pin
Mark Salsbery10-Jan-07 7:33
Mark Salsbery10-Jan-07 7:33 
AnswerRe: ImageList_DrawIndirect Problem! Pin
r3dqu33n10-Jan-07 8:36
r3dqu33n10-Jan-07 8:36 
Hi, thanks for the reply Smile | :)

I use the imagelist with a bitmap containing three (say it) columns (that is the indexes of imagelist), then i've col 1, col 2 & col 3.

The bitmap contains the states of 3 "buttons", but all the "states" are all in the same col. Then i need to paint only a piece of the col.

Explanation:
My bmp is 90h * 54w px and the imagelist cut it in 3 cols of 90h * 18w px.
I need to paint only 18 * 18 px at a time.

I tried to use ImageList_DrawIndirect specifing the index and the x,y point where the Draw would begins to read, but it don't works.

Cry | :((

PD: Yes, you are right... i typed unnecessarily, my mistake Frown | :( But it's not in my code
GeneralRe: ImageList_DrawIndirect Problem! Pin
Mark Salsbery10-Jan-07 8:42
Mark Salsbery10-Jan-07 8:42 
QuestionProblem with CMap GetStartPosition() Pin
vipin_nvk10-Jan-07 5:22
vipin_nvk10-Jan-07 5:22 
AnswerRe: Problem with CMap GetStartPosition() Pin
PJ Arends10-Jan-07 5:56
professionalPJ Arends10-Jan-07 5:56 
QuestionRe: Problem with CMap GetStartPosition() Pin
David Crow10-Jan-07 5:59
David Crow10-Jan-07 5:59 
QuestionWhat's the problem of my program? Pin
Ming Luo10-Jan-07 5:15
Ming Luo10-Jan-07 5:15 
AnswerRe: What's the problem of my program? Pin
Roger Stoltz10-Jan-07 5:36
Roger Stoltz10-Jan-07 5:36 
GeneralRe: What's the problem of my program? Pin
PJ Arends10-Jan-07 6:02
professionalPJ Arends10-Jan-07 6:02 
GeneralRe: What's the problem of my program? Pin
Roger Stoltz10-Jan-07 6:11
Roger Stoltz10-Jan-07 6:11 
QuestionSending File Through UDP Pin
Girish60110-Jan-07 4:14
Girish60110-Jan-07 4:14 
AnswerRe: Sending File Through UDP Pin
Roger Stoltz10-Jan-07 4:36
Roger Stoltz10-Jan-07 4:36 
AnswerRe: Sending File Through UDP Pin
James R. Twine10-Jan-07 4:50
James R. Twine10-Jan-07 4:50 
GeneralRe: Sending File Through UDP Pin
Tim Paaschen10-Jan-07 19:42
Tim Paaschen10-Jan-07 19:42 
GeneralRe: Sending File Through UDP Pin
James R. Twine11-Jan-07 13:38
James R. Twine11-Jan-07 13:38 
AnswerRe: Sending File Through UDP Pin
Eytukan10-Jan-07 4:56
Eytukan10-Jan-07 4:56 
QuestionWhat happens when I open a file with its "default" program? Pin
KellyR10-Jan-07 3:18
KellyR10-Jan-07 3:18 
AnswerRe: What happens when I open a file with its "default" program? Pin
Roger Stoltz10-Jan-07 3:38
Roger Stoltz10-Jan-07 3:38 
QuestionRe: What happens when I open a file with its "default" program? Pin
KellyR10-Jan-07 4:01
KellyR10-Jan-07 4:01 

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.