Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse Cursor Control Pin
Michael Dunn8-Nov-01 9:08
sitebuilderMichael Dunn8-Nov-01 9:08 
GeneralSystray and Icons Pin
8-Nov-01 7:45
suss8-Nov-01 7:45 
GeneralRe: Systray and Icons Pin
Bernhard8-Nov-01 20:54
Bernhard8-Nov-01 20:54 
QuestionHow do you organize your shared source files? Pin
Todd Smith8-Nov-01 7:29
Todd Smith8-Nov-01 7:29 
AnswerRe: How do you organize your shared source files? Pin
Chris Losinger8-Nov-01 8:25
professionalChris Losinger8-Nov-01 8:25 
GeneralRe: How do you organize your shared source files? Pin
Jim A. Johnson8-Nov-01 13:04
Jim A. Johnson8-Nov-01 13:04 
GeneralRe: How do you organize your shared source files? Pin
Chris Losinger8-Nov-01 13:20
professionalChris Losinger8-Nov-01 13:20 
GeneralRe: How do you organize your shared source files? Pin
Rassman8-Nov-01 23:39
Rassman8-Nov-01 23:39 
Libs are good places to store 'the one you wrote earlier'.

How to group code in Libs has always been a point for argument amongst programmers (tsk, as if programmers would argue). My personal preference comes from my electronics. I would create libraries of devices. With the code controlling all aspects of that device, so that a calling function would (in many cases) have a single call in and a single status/data call.

So for example,
irq59.lib would hold all the routines tat control an irq controller.
pcdisp.lib all of the character display device code.

and so on.

In C++ I tried a few in the lines of,

dirtree.lib with the code for Directory trees
omron.lib code to control an Omron

In each case it is code that is fixed in terms of its operation and only requires control/data to work.

It is just as easy in the IDE to add a class into a project in source form. But as was said earlier you have to remember to add all the right base classes, with the libs you must have already taken care of this for your code to have compiled.



We do it for the joy of seeing the users struggle.
AnswerRe: How do you organize your shared source files? Pin
Joaquín M López Muñoz8-Nov-01 8:27
Joaquín M López Muñoz8-Nov-01 8:27 
AnswerRe: How do you organize your shared source files? Pin
Michael P Butler8-Nov-01 9:01
Michael P Butler8-Nov-01 9:01 
AnswerRe: How do you organize your shared source files? Pin
Fazlul Kabir8-Nov-01 9:16
Fazlul Kabir8-Nov-01 9:16 
GeneralAnimation with OpenGL in MFC Pin
8-Nov-01 7:03
suss8-Nov-01 7:03 
GeneralChanging ActiveX control size(extents) Pin
8-Nov-01 5:54
suss8-Nov-01 5:54 
GeneralChanging the title in SDI app Pin
pmarki8-Nov-01 5:33
pmarki8-Nov-01 5:33 
GeneralRe: Changing the title in SDI app Pin
Michael P Butler8-Nov-01 9:05
Michael P Butler8-Nov-01 9:05 
GeneralRe: Changing the title in SDI app Pin
pmarki11-Nov-01 0:59
pmarki11-Nov-01 0:59 
GeneralCustom Draw in List Control Pin
RobJones8-Nov-01 5:26
RobJones8-Nov-01 5:26 
GeneralRe: Custom Draw in List Control Pin
moliate8-Nov-01 23:07
moliate8-Nov-01 23:07 
GeneralWin 9x System Monitor - what is.... (Save my day #2) Pin
peterchen8-Nov-01 5:05
peterchen8-Nov-01 5:05 
GeneralBasic GDI+ Question Pin
AJ1238-Nov-01 5:04
AJ1238-Nov-01 5:04 
GeneralRe: Basic GDI+ Question Pin
Christian Graus8-Nov-01 10:11
protectorChristian Graus8-Nov-01 10:11 
GeneralList of processes (Save My Day #1) Pin
peterchen8-Nov-01 4:57
peterchen8-Nov-01 4:57 
GeneralRe: List of processes (Save My Day #1) Pin
Michael P Butler8-Nov-01 5:06
Michael P Butler8-Nov-01 5:06 
GeneralRe: List of processes (Save My Day #1) Pin
Gert Boddaert8-Nov-01 21:48
Gert Boddaert8-Nov-01 21:48 
GeneralRe: List of processes (Save My Day #1) Pin
Sardaukar8-Nov-01 21:58
Sardaukar8-Nov-01 21:58 

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.