Click here to Skip to main content
15,884,821 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Service access file on network folder Pin
Covean18-May-10 0:52
Covean18-May-10 0:52 
AnswerRe: Service access file on network folder Pin
baerten18-May-10 2:39
baerten18-May-10 2:39 
GeneralRe: Service access file on network folder Pin
sashoalm18-May-10 7:45
sashoalm18-May-10 7:45 
Questionmake a timer Pin
hasani200717-May-10 23:05
hasani200717-May-10 23:05 
AnswerRe: make a timer Pin
Rajesh R Subramanian17-May-10 23:26
professionalRajesh R Subramanian17-May-10 23:26 
JokeRe: make a timer Pin
CPallini17-May-10 23:45
mveCPallini17-May-10 23:45 
AnswerRe: make a timer Pin
Maximilien18-May-10 0:30
Maximilien18-May-10 0:30 
GeneralRe: make a timer Pin
Stephen Hewitt18-May-10 0:35
Stephen Hewitt18-May-10 0:35 
AnswerRe: make a timer Pin
KarstenK18-May-10 1:26
mveKarstenK18-May-10 1:26 

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.