Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTrying to find VB equivalent controls Pin
Sean Capstick11-Sep-00 16:51
Sean Capstick11-Sep-00 16:51 
GeneralSubclassing Pin
Jamie Nordmeyer11-Sep-00 9:19
Jamie Nordmeyer11-Sep-00 9:19 
GeneralRe: Subclassing Pin
Nick Hodapp11-Sep-00 11:13
sitebuilderNick Hodapp11-Sep-00 11:13 
GeneralRe: Subclassing Pin
Jamie Nordmeyer11-Sep-00 11:22
Jamie Nordmeyer11-Sep-00 11:22 
GeneralRe: Subclassing Pin
Nick Hodapp11-Sep-00 11:29
sitebuilderNick Hodapp11-Sep-00 11:29 
GeneralRe: Subclassing Pin
Sam Hobbs11-Sep-00 17:34
Sam Hobbs11-Sep-00 17:34 
GeneralRe: Subclassing Pin
Jamie Nordmeyer12-Sep-00 4:54
Jamie Nordmeyer12-Sep-00 4:54 
GeneralRe: Subclassing Pin
Sam Hobbs12-Sep-00 5:38
Sam Hobbs12-Sep-00 5:38 
Yes, you have to declare your subclass function as 'static' if you intend to use it for subclassing. It is the fact that functions declared as static remove the 'this' pointer that makes it possible for Windows to call a function in your class. Think about what Windows is doing when it calls your callback function. Windows calls your function with certain parameters; a "this" pointer is not one of the parameters. Think about that and I think you will realize why the function must be static.

Whatever functionality that you need, almost for sure there is an easier way to do it if you do it the MFC way instead of trying to get around MFC.

GeneralToolbar and Dialog Pin
Henrik Pedersen11-Sep-00 4:10
Henrik Pedersen11-Sep-00 4:10 
GeneralCFtpConnection - host type Pin
Alex Chaikin11-Sep-00 4:02
sussAlex Chaikin11-Sep-00 4:02 
GeneralRe: CFtpConnection - host type Pin
Member 120896511-Sep-00 9:47
Member 120896511-Sep-00 9:47 
GeneralRe: CFtpConnection - host type Pin
Member 120896512-Sep-00 4:33
Member 120896512-Sep-00 4:33 
Questionhow to unrar archives ? Pin
Androme11-Sep-00 3:42
Androme11-Sep-00 3:42 
AnswerRe: how to unrar archives ? Pin
m29-Sep-00 6:48
m29-Sep-00 6:48 
GeneralWebBrowser control doesn't work on 98 Pin
Parvesh Sharma13-Sep-00 6:42
Parvesh Sharma13-Sep-00 6:42 
GeneralMultiple Threads Pin
Andrew12-Sep-00 0:57
Andrew12-Sep-00 0:57 
GeneralRe: Multiple Threads Pin
Nick Hodapp12-Sep-00 11:14
sitebuilderNick Hodapp12-Sep-00 11:14 
GeneralHOOKs again and again Pin
Mustafa Demirhan11-Sep-00 2:53
Mustafa Demirhan11-Sep-00 2:53 
GeneralRe: HOOKs again and again Pin
Feng Yuan www.fengyuan.com12-Sep-00 8:32
sussFeng Yuan www.fengyuan.com12-Sep-00 8:32 
GeneralIn memory PE execution Pin
Janez Novak10-Sep-00 21:12
Janez Novak10-Sep-00 21:12 
GeneralRe: In memory PE execution Pin
Feng Yuan www.fengyuan.com12-Sep-00 8:30
sussFeng Yuan www.fengyuan.com12-Sep-00 8:30 
GeneralRe: In memory PE execution Pin
Janez Novak13-Sep-00 22:11
Janez Novak13-Sep-00 22:11 
GeneralMessagebox language translation Pin
John Self10-Sep-00 16:57
sussJohn Self10-Sep-00 16:57 
Generalsending messages to other programs Pin
vik10-Sep-00 12:50
vik10-Sep-00 12:50 
GeneralRe: sending messages to other programs Pin
Member 120896511-Sep-00 10:25
Member 120896511-Sep-00 10:25 

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.