Click here to Skip to main content
15,916,398 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Another question on "Good Practices" involving code file size... Pin
x87Bliss2-May-08 0:00
x87Bliss2-May-08 0:00 
GeneralRe: Another question on "Good Practices" involving code file size... Pin
Rajkumar R2-May-08 1:24
Rajkumar R2-May-08 1:24 
x87Bliss wrote:
I am just wondering what would happen if a different compiler saw '#pragma region' if it'd skip over it, or have an error?

"If the compiler finds a pragma it does not recognize, it issues a warning, but compilation continues" from msdn
or something like,
#if _MSC_VER > version
#pragma region Region_1
#endif


x87Bliss wrote:
the class CPP file for it is growing large and hard to navigate (I have to use Ctrl+F to find most functions).

845 is not so lengthy, you can learn some shortcuts to speed up search. for instance you can use indexed search (ctrl + i) and type to search while typing. and to navigate to class and member in a file, the code view has scope and member field or class view you can select to navigate to the function, F12 a handy shortcut to navigate to the definition from its reference...

You may redesign the GUI into different layouts or split GUI into pages if you have tomany controls that will be annoying the user. If your GUI is neat, may be you group range of event handlers that is handled in different class implemented in different files like ON_CONTROL_RANGE, ON_COMMAND_RANGE, ...
GeneralRe: Another question on "Good Practices" involving code file size... Pin
x87Bliss2-May-08 13:37
x87Bliss2-May-08 13:37 
Questionsome pointers Pin
johnzfrebbies@30-Apr-08 11:43
johnzfrebbies@30-Apr-08 11:43 
AnswerRe: some pointers Pin
Christian Graus30-Apr-08 12:10
protectorChristian Graus30-Apr-08 12:10 
AnswerRe: some pointers Pin
Maximilien30-Apr-08 14:50
Maximilien30-Apr-08 14:50 
GeneralRe: some pointers Pin
johnzfrebbies@1-May-08 19:02
johnzfrebbies@1-May-08 19:02 
QuestionMoving CDaoRecordset to something else ??? for conversion From MS Jet to SQL Server Pin
Stevej30-Apr-08 3:53
Stevej30-Apr-08 3:53 
AnswerRe: Moving CDaoRecordset to something else ??? for conversion From MS Jet to SQL Server Pin
led mike30-Apr-08 4:16
led mike30-Apr-08 4:16 
GeneralRe: Moving CDaoRecordset to something else ??? for conversion From MS Jet to SQL Server Pin
Stevej30-Apr-08 5:22
Stevej30-Apr-08 5:22 
GeneralRe: Moving CDaoRecordset to something else ??? for conversion From MS Jet to SQL Server Pin
led mike30-Apr-08 7:17
led mike30-Apr-08 7:17 
QuestionRe: Moving CDaoRecordset to something else ??? for conversion From MS Jet to SQL Server Pin
David Crow30-Apr-08 5:58
David Crow30-Apr-08 5:58 
AnswerRe: Moving CDaoRecordset to something else ??? for conversion From MS Jet to SQL Server Pin
Stevej30-Apr-08 6:23
Stevej30-Apr-08 6:23 
QuestionLoading MS Word or other software from your own program Pin
Larry Mills Sr30-Apr-08 3:09
Larry Mills Sr30-Apr-08 3:09 
AnswerRe: Loading MS Word or other software from your own program Pin
David Crow30-Apr-08 3:13
David Crow30-Apr-08 3:13 
GeneralRe: Loading MS Word or other software from your own program Pin
Larry Mills Sr30-Apr-08 12:12
Larry Mills Sr30-Apr-08 12:12 
AnswerRe: Loading MS Word or other software from your own program Pin
Hamid_RT30-Apr-08 4:51
Hamid_RT30-Apr-08 4:51 
GeneralRe: Loading MS Word or other software from your own program Pin
Blake Miller1-May-08 12:03
Blake Miller1-May-08 12:03 
AnswerRe: Loading MS Word or other software from your own program Pin
ShilpiP1-May-08 3:09
ShilpiP1-May-08 3:09 
QuestionHow can I found out which dlls my dll depends on ... programmatically ! Pin
Berlus30-Apr-08 2:19
Berlus30-Apr-08 2:19 
AnswerRe: How can I found out which dlls my dll depends on ... programmatically ! Pin
David Crow30-Apr-08 3:14
David Crow30-Apr-08 3:14 
GeneralRe: How can I found out which dlls my dll depends on ... programmatically ! Pin
Berlus30-Apr-08 8:21
Berlus30-Apr-08 8:21 
AnswerRe: How can I found out which dlls my dll depends on ... programmatically ! Pin
Chris Meech30-Apr-08 9:25
Chris Meech30-Apr-08 9:25 
AnswerRe: How can I found out which dlls my dll depends on ... programmatically ! Pin
Stephen Hewitt30-Apr-08 15:47
Stephen Hewitt30-Apr-08 15:47 
QuestionDisable the new window cration in ShellExecute? Pin
$uresh $hanmugam30-Apr-08 1:59
$uresh $hanmugam30-Apr-08 1:59 

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.