Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 14:55
Ryan Binns3-Jul-03 14:55 
GeneralSelecting multiple CEdit Boxes Pin
K. Shaffer2-Jul-03 9:18
K. Shaffer2-Jul-03 9:18 
GeneralRe: Selecting multiple CEdit Boxes Pin
John R. Shaw2-Jul-03 11:16
John R. Shaw2-Jul-03 11:16 
GeneralRe: Selecting multiple CEdit Boxes Pin
Ryan Binns3-Jul-03 1:43
Ryan Binns3-Jul-03 1:43 
GeneralHaving some trouble subclassing dynamically created CButtons Pin
Flack2-Jul-03 8:57
Flack2-Jul-03 8:57 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
basementman2-Jul-03 9:38
basementman2-Jul-03 9:38 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Flack2-Jul-03 10:14
Flack2-Jul-03 10:14 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Ryan Binns2-Jul-03 16:08
Ryan Binns2-Jul-03 16:08 
Flack wrote:
Would it then be possible for me to instead of have an array of CButtons and CButtons created dynamically, and then subclass them, to instead change it to an array of CMyButtons so I wouldnt have to subclass anything?

Yes, this is the right way to do it.

Flack wrote:
What would I have to do in order to make the buttons draw with the style I want? Im guessing Im missing something in CMyButton::DrawItem but I dont know what.

All your drawing code is in CMyButton::DrawItem(). If you comment out everything in this function, then nothing will get drawn. Just make sure you are drawing the right thing Smile | :) .

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

QuestionCreate and Access Hardware? Pin
Selevercin2-Jul-03 8:28
Selevercin2-Jul-03 8:28 
AnswerRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 8:51
John M. Drescher2-Jul-03 8:51 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 9:13
Selevercin2-Jul-03 9:13 
GeneralRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 9:18
John M. Drescher2-Jul-03 9:18 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 10:01
David Crow2-Jul-03 10:01 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 10:54
Selevercin2-Jul-03 10:54 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 16:54
David Crow2-Jul-03 16:54 
GeneralRe: Create and Access Hardware? Pin
jhwurmbach3-Jul-03 1:19
jhwurmbach3-Jul-03 1:19 
AnswerRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 11:14
mentorTrollslayer2-Jul-03 11:14 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 12:33
Selevercin2-Jul-03 12:33 
GeneralRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 13:02
mentorTrollslayer2-Jul-03 13:02 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 14:38
Selevercin2-Jul-03 14:38 
GeneralRe: Create and Access Hardware? Pin
Trollslayer3-Jul-03 4:42
mentorTrollslayer3-Jul-03 4:42 
GeneralRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 13:05
mentorTrollslayer2-Jul-03 13:05 
AnswerRe: Create and Access Hardware? Pin
Gordon Brandly2-Jul-03 11:26
Gordon Brandly2-Jul-03 11:26 
Generalerror: LNK2001 Pin
DaveE9th2-Jul-03 8:00
DaveE9th2-Jul-03 8:00 
GeneralRe: error: LNK2001 Pin
AlexO2-Jul-03 9:31
AlexO2-Jul-03 9: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.