Click here to Skip to main content
16,011,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDowncasting? Pin
0v3rloader2-Aug-04 5:35
0v3rloader2-Aug-04 5:35 
AnswerRe: Downcasting? Pin
palbano2-Aug-04 5:58
palbano2-Aug-04 5:58 
GeneralBetter Description of the Problem: Pin
0v3rloader2-Aug-04 6:13
0v3rloader2-Aug-04 6:13 
GeneralRe: Better Description of the Problem: Pin
alex.barylski2-Aug-04 7:11
alex.barylski2-Aug-04 7:11 
GeneralRe: Better Description of the Problem: Pin
palbano2-Aug-04 7:46
palbano2-Aug-04 7:46 
GeneralRe: Better Description of the Problem: Pin
palbano2-Aug-04 8:02
palbano2-Aug-04 8:02 
GeneralCAN'T use ClassWizard!! Code is located in a Static Library. Pin
0v3rloader2-Aug-04 8:33
0v3rloader2-Aug-04 8:33 
GeneralRe: CAN'T use ClassWizard!! Code is located in a Static Library. Pin
alex.barylski2-Aug-04 18:47
alex.barylski2-Aug-04 18:47 
dNimrod#X wrote:
I am sorry but I can't use ClassWizard as I am using a Static Lib.

I'm not sure I understand why this is creating a problem Confused | :confused:

When you derive an class using from CEdit using classwizard it automatically subclasses CEdit for you. You can then use VS to add and remove message handlers as required.

Did you derive your class from CEdit manually???

I can't remember how you said you subclassed your control...and i'm too lazy to go look...

I don't think SubclassWindow() is the way you want to do it...you'd probably have better luck using SetWindowLong replacing the original window procedure all togather.

Cheers Smile | :)

How do I print my voice mail?
GeneralRe: CAN'T use ClassWizard!! Code is located in a Static Library. Pin
0v3rloader3-Aug-04 2:03
0v3rloader3-Aug-04 2:03 
GeneralCView VSCROLL intro Pin
birdman632-Aug-04 5:27
birdman632-Aug-04 5:27 
GeneralRe: CView VSCROLL intro Pin
alex.barylski2-Aug-04 7:13
alex.barylski2-Aug-04 7:13 
Generaltpkt paquets Pin
argali2-Aug-04 4:45
argali2-Aug-04 4:45 
GeneralWin socket & Dialog boxes Pin
pork chop2-Aug-04 4:43
pork chop2-Aug-04 4:43 
GeneralRe: Win socket & Dialog boxes Pin
palbano2-Aug-04 6:04
palbano2-Aug-04 6:04 
GeneralWindows Startup Pin
Ayman Mahmoud2-Aug-04 4:39
Ayman Mahmoud2-Aug-04 4:39 
GeneralRe: Windows Startup Pin
Jaime Stuardo2-Aug-04 5:02
Jaime Stuardo2-Aug-04 5:02 
GeneralRe: Windows Startup Pin
David Crow2-Aug-04 8:42
David Crow2-Aug-04 8:42 
GeneralDundas Grid question. Pin
Maximilien2-Aug-04 4:32
Maximilien2-Aug-04 4:32 
GeneralRe: Dundas Grid question. Pin
Peter Zajac3-Aug-04 10:04
Peter Zajac3-Aug-04 10:04 
GeneralModal listbox Pin
navratil2-Aug-04 4:14
navratil2-Aug-04 4:14 
GeneralRe: Modal listbox Pin
alex.barylski2-Aug-04 7:18
alex.barylski2-Aug-04 7:18 
GeneralRe: Modal listbox Pin
navratil3-Aug-04 2:48
navratil3-Aug-04 2:48 
GeneralDisable & Enable Button Pin
pork chop2-Aug-04 3:15
pork chop2-Aug-04 3:15 
GeneralRe: Disable & Enable Button Pin
Maximilien2-Aug-04 3:21
Maximilien2-Aug-04 3:21 
GeneralRe: Disable & Enable Button Pin
vcplusplus2-Aug-04 3:23
vcplusplus2-Aug-04 3:23 

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.