Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp! capturing mouse movements on pushbuttons Pin
Atilla Selem25-Apr-02 22:56
Atilla Selem25-Apr-02 22:56 
GeneralRe: help! capturing mouse movements on pushbuttons Pin
lucy26-Apr-02 3:02
lucy26-Apr-02 3:02 
GeneralRewrite 8-bit bmp image problem Pin
chen25-Apr-02 22:02
chen25-Apr-02 22:02 
GeneralRe: Rewrite 8-bit bmp image problem Pin
Joaquín M López Muñoz25-Apr-02 22:38
Joaquín M López Muñoz25-Apr-02 22:38 
GeneralRe: Rewrite 8-bit bmp image problem Pin
chen25-Apr-02 23:00
chen25-Apr-02 23:00 
Generalcopy selecting text from any applicaion to my application by hotkey Pin
25-Apr-02 21:59
suss25-Apr-02 21:59 
QuestionExtern function template !? Pin
Maxwell Chen25-Apr-02 20:31
Maxwell Chen25-Apr-02 20:31 
AnswerRe: Extern function template !? Pin
Joaquín M López Muñoz25-Apr-02 20:54
Joaquín M López Muñoz25-Apr-02 20:54 
As main.cpp does not see the definition of Next, which is hidden in function.cpp, it is required that function.cpp "exports" the instantiation of this template for ints like this:
template<class T>
T Next(T val)
{
return val++;
}
 
template int Next(int); //instantiate Next for ints
This is not a very smart design, as function.cpp has to know in advance for which types Next is going to be used. Usually, it is better to have the definition of all templates inside header files included by the "consumer" .cpps.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralPassing Parameter to hook DLL Pin
Sameer Maggon25-Apr-02 20:20
Sameer Maggon25-Apr-02 20:20 
GeneralRe: Passing Parameter to hook DLL Pin
Joaquín M López Muñoz25-Apr-02 20:29
Joaquín M López Muñoz25-Apr-02 20:29 
GeneralRe: Passing Parameter to hook DLL Pin
Sameer Maggon25-Apr-02 21:24
Sameer Maggon25-Apr-02 21:24 
GeneralRe: Passing Parameter to hook DLL Pin
Joaquín M López Muñoz25-Apr-02 22:34
Joaquín M López Muñoz25-Apr-02 22:34 
GeneralRe: Passing Parameter to hook DLL Pin
Sameer Maggon25-Apr-02 23:11
Sameer Maggon25-Apr-02 23:11 
GeneralProgressbar as Part of Statusbar :: MFC Pin
valikac25-Apr-02 20:14
valikac25-Apr-02 20:14 
GeneralRe: Progressbar as Part of Statusbar :: MFC Pin
Roger Allen26-Apr-02 1:57
Roger Allen26-Apr-02 1:57 
GeneralRe: Progressbar as Part of Statusbar :: MFC Pin
valikac26-Apr-02 4:56
valikac26-Apr-02 4:56 
GeneralRe: Progressbar as Part of Statusbar :: MFC Pin
Roger Allen26-Apr-02 5:53
Roger Allen26-Apr-02 5:53 
GeneralRe: Progressbar as Part of Statusbar :: MFC Pin
valikac26-Apr-02 6:46
valikac26-Apr-02 6:46 
GeneralRe: I see your point Pin
valikac26-Apr-02 6:53
valikac26-Apr-02 6:53 
GeneralRe: Message Pump Pin
valikac26-Apr-02 16:23
valikac26-Apr-02 16:23 
GeneralCOM - History Extraction Pin
Sameer Maggon25-Apr-02 19:11
Sameer Maggon25-Apr-02 19:11 
GeneralDetermining Active View :: MFC Pin
valikac25-Apr-02 15:35
valikac25-Apr-02 15:35 
GeneralRe: Determining Active View :: MFC Pin
Joao Vaz25-Apr-02 18:55
Joao Vaz25-Apr-02 18:55 
GeneralRe: Determining Active View :: MFC Pin
valikac25-Apr-02 19:35
valikac25-Apr-02 19:35 
GeneralTaskbaricon for every childwindow in MDI Pin
Danny Springer25-Apr-02 13:06
Danny Springer25-Apr-02 13:06 

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.