Click here to Skip to main content
15,917,971 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Remove menu toolbar from MDI Pin
mesajflaviu20-May-10 19:43
mesajflaviu20-May-10 19:43 
QuestionProcess run as administrator Pin
ShilpiP18-May-10 18:47
ShilpiP18-May-10 18:47 
AnswerRe: Process run as administrator Pin
Xeqtr18-May-10 22:00
Xeqtr18-May-10 22:00 
QuestionRe: Process run as administrator Pin
David Crow19-May-10 5:41
David Crow19-May-10 5:41 
QuestionObject Oriented c++ Visual Studio Problem. Pin
RobNO18-May-10 12:16
professionalRobNO18-May-10 12:16 
AnswerRe: Object Oriented c++ Visual Studio Problem. Pin
Graham Breach18-May-10 12:27
Graham Breach18-May-10 12:27 
GeneralRe: Object Oriented c++ Visual Studio Problem. Pin
RobNO18-May-10 12:48
professionalRobNO18-May-10 12:48 
AnswerRe: Object Oriented c++ Visual Studio Problem. Pin
Luc Pattyn18-May-10 13:23
sitebuilderLuc Pattyn18-May-10 13:23 
AnswerRe: Object Oriented c++ Visual Studio Problem. Pin
xtofl18-May-10 22:26
xtofl18-May-10 22:26 
QuestionLarge Menu Items Pin
cryptoknight1718-May-10 12:14
cryptoknight1718-May-10 12:14 
AnswerRe: Large Menu Items Pin
Code-o-mat18-May-10 21:45
Code-o-mat18-May-10 21:45 
GeneralRe: Large Menu Items Pin
cryptoknight1719-May-10 9:38
cryptoknight1719-May-10 9:38 
GeneralRe: Large Menu Items Pin
Code-o-mat19-May-10 11:28
Code-o-mat19-May-10 11:28 
GeneralRe: Large Menu Items Pin
cryptoknight1719-May-10 12:22
cryptoknight1719-May-10 12:22 
QuestionSave/Restore "state" of document in CHtmlView Pin
nobaq18-May-10 5:52
nobaq18-May-10 5:52 
QuestionClass Custom Control Pin
AbhiHcl18-May-10 2:33
AbhiHcl18-May-10 2:33 
AnswerRe: Class Custom Control PinPopular
Iain Clarke, Warrior Programmer18-May-10 2:42
Iain Clarke, Warrior Programmer18-May-10 2:42 
As with most things, break the problem down into smaller parts.

Can you make a DLL?

Are you thinking of MFC? In which case, export a CMyWnd class, and do RegisterWindowClass (*) in the constructor.

If it's win32, take a leaf out of InitCommonControls, and export a function from your dll that registers the windows classes.

The first two parts have good articles here on CP.

You also need to work out what the problem you are solving is - that will have a big effect on your solution.

Iain

(*) from memory. Look up appropriate function!
I have now moved to Sweden for love (awwww).

GeneralRe: Class Custom Control Pin
AbhiHcl18-May-10 23:57
AbhiHcl18-May-10 23:57 
GeneralRe: Class Custom Control Pin
Iain Clarke, Warrior Programmer19-May-10 1:58
Iain Clarke, Warrior Programmer19-May-10 1:58 
QuestionVisual Studio Addin for source code editor tooltip [modified] Pin
lclarsen18-May-10 1:58
lclarsen18-May-10 1:58 
QuestionMemory leak In Excel range pointer Pin
trioum18-May-10 0:53
trioum18-May-10 0:53 
AnswerRe: Memory leak In Excel range pointer Pin
Stephen Hewitt18-May-10 14:06
Stephen Hewitt18-May-10 14:06 
GeneralRe: Memory leak In Excel range pointer Pin
trioum18-May-10 22:30
trioum18-May-10 22:30 
QuestionService access file on network folder Pin
baerten18-May-10 0:39
baerten18-May-10 0:39 
AnswerRe: Service access file on network folder Pin
Garth J Lancaster18-May-10 0:52
professionalGarth J Lancaster18-May-10 0:52 

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.