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

C / C++ / MFC

 
GeneralRe: Scroll a CListCtrl? Pin
Dominik Reichl3-Jul-03 5:56
Dominik Reichl3-Jul-03 5:56 
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 
Thanx for the reply.

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?

I tried this and the the buttons would draw and turn yellow when I hover over them with the mouse but the button styles I want are not drawn.

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.

Any help is greatly appreciated.

Thanx,
-Flack


GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Ryan Binns2-Jul-03 16:08
Ryan Binns2-Jul-03 16:08 
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 

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.