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

C / C++ / MFC

 
QuestionHow to handle events in List Control if I don't have a variable? Pin
ben26-Sep-03 22:27
ben26-Sep-03 22:27 
AnswerRe: How to handle events in List Control if I don't have a variable? Pin
Anonymous7-Sep-03 8:16
Anonymous7-Sep-03 8:16 
GeneralReproducing key events Pin
Minoo_Sh6-Sep-03 22:21
Minoo_Sh6-Sep-03 22:21 
GeneralRe: Reproducing key events Pin
Taka Muraoka6-Sep-03 23:28
Taka Muraoka6-Sep-03 23:28 
GeneralWM_KEYDOWN Pin
Minoo_Sh6-Sep-03 22:12
Minoo_Sh6-Sep-03 22:12 
GeneralRe: WM_KEYDOWN Pin
imsniper8-Sep-03 4:00
imsniper8-Sep-03 4:00 
GeneralRe: WM_KEYDOWN Pin
Minoo_Sh8-Sep-03 19:00
Minoo_Sh8-Sep-03 19:00 
GeneralRe: WM_KEYDOWN Pin
imsniper8-Sep-03 21:23
imsniper8-Sep-03 21:23 
GeneralCFileDialog, just thought I should share this Pin
Abin6-Sep-03 21:56
Abin6-Sep-03 21:56 
GeneralRe: CFileDialog, just thought I should share this Pin
Michael Dunn7-Sep-03 8:22
sitebuilderMichael Dunn7-Sep-03 8:22 
GeneralI'm afraid you are incorrect Pin
Abin7-Sep-03 14:24
Abin7-Sep-03 14:24 
GeneralRe: I'm afraid you are incorrect Pin
Michael Dunn7-Sep-03 20:08
sitebuilderMichael Dunn7-Sep-03 20:08 
Generalok Pin
Abin8-Sep-03 0:45
Abin8-Sep-03 0:45 
GeneralRe: CFileDialog, just thought I should share this Pin
PJ Arends7-Sep-03 8:34
professionalPJ Arends7-Sep-03 8:34 
GeneralEditable ListBox Pin
ben26-Sep-03 18:38
ben26-Sep-03 18:38 
GeneralRe: Editable ListBox Pin
Neville Franks6-Sep-03 22:22
Neville Franks6-Sep-03 22:22 
GeneralRe: Editable ListBox Pin
ben26-Sep-03 22:52
ben26-Sep-03 22:52 
Generalhelp with algorithm Pin
coda_x6-Sep-03 17:24
coda_x6-Sep-03 17:24 
GeneralRe: Need help with idea Pin
Andrew Walker6-Sep-03 14:45
Andrew Walker6-Sep-03 14:45 
GeneralRe: Need help with idea Pin
Steven M Hunt6-Sep-03 15:57
Steven M Hunt6-Sep-03 15:57 
GeneralNeed help doing a simple game, ttt Pin
Snyp6-Sep-03 13:15
Snyp6-Sep-03 13:15 
GeneralRe: Need help doing a simple game, ttt Pin
Steven M Hunt6-Sep-03 13:30
Steven M Hunt6-Sep-03 13:30 
GeneralSocks Sock Socks! Pin
ez_way6-Sep-03 10:34
ez_way6-Sep-03 10:34 
GeneralRe: Socks Sock Socks! Pin
Jörgen Sigvardsson6-Sep-03 11:31
Jörgen Sigvardsson6-Sep-03 11:31 
Generalprocessing headers more efficiently Pin
Jim Crafton6-Sep-03 8:13
Jim Crafton6-Sep-03 8:13 
I have been wondering what is the best way to handle large scale projects and headers.
Currently for the VCF I have followed a 1 class = 1 header policy. For the Appkit I have ~ 233 .h files (acording to PLC).
Compiles, even with precompiled headers, take a bit. Is there a better way to organize the class declarations?
Is it smarter (even if it is not as easy to find classes) to *not* use the 1 class per .h rule, and instead combine many classes into one header?
Should common comment blocks (like CVS rev info, and copyright notices) fall before the include guards or within (or does it matter?)? For example:
(a)
/**
copyright, blah blah blah
*/
#ifndef _FOO_H__
#define _FOO_H__
//code
#endif //_FOO_H__


(b)
#ifndef _FOO_H__
#define _FOO_H__
/**
copyright, blah blah blah
*/

//code
#endif //_FOO_H__


Which is more efficient (a) or (b)?

I am using a fair amount of templates and some preprocessor stuff to add the extra RTTI support the framework uses. Does this make a big difference in compile times?

Thanks


¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!

SELECT * FROM User WHERE Clue > 0
0 rows returned

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.