Click here to Skip to main content
15,909,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: functions in the structure Pin
khan++25-Dec-05 21:32
khan++25-Dec-05 21:32 
QuestionADODB.Recordset / Oracle / Save / unicode / restore problem Pin
xcavin25-Dec-05 20:33
xcavin25-Dec-05 20:33 
QuestionWho can i get CPU preformance in run time ? Pin
Yanshof25-Dec-05 19:01
Yanshof25-Dec-05 19:01 
AnswerRe: Who can i get CPU preformance in run time ? Pin
khan++25-Dec-05 19:48
khan++25-Dec-05 19:48 
GeneralRe: Who can i get CPU preformance in run time ? Pin
Dudi Avramov25-Dec-05 23:21
Dudi Avramov25-Dec-05 23:21 
QuestionUNDO Move operation in explorer Pin
ragavan25-Dec-05 18:43
ragavan25-Dec-05 18:43 
Questionwindows programming, displaying text Pin
Roy K25-Dec-05 18:41
Roy K25-Dec-05 18:41 
AnswerRe: windows programming, displaying text Pin
khan++25-Dec-05 22:44
khan++25-Dec-05 22:44 
To remove the text I think you can repaint the window, without drawing the text, like send a WM_PAINT message:
::SendMessage(hWnd,WM_PAINT,0,0);

To display text, you are allocating memory every time. You could create a fixed size character array like:
char str[200];//make it large enough for the string.
And if you have to make it dynamic, then you must delete it also:
str = new char[20];//something like that.<br />
delete[] str;//necessary.


I don't really understand what you mean by running in the background. You can minimize the application, you can even hide the main window (then you should have a way to restore it, like a notification area icon etc).
Minimize: ::ShowWindow(m_hWnd,SW_MINIMIZE);
Hide: ::ShowWindow(m_hWnd,SW_HIDE);


this is this.
AnswerRe: windows programming, displaying text Pin
John R. Shaw26-Dec-05 12:43
John R. Shaw26-Dec-05 12:43 
Questionwebbrowser ctrl and memory problem! Pin
Tcpip200525-Dec-05 18:24
Tcpip200525-Dec-05 18:24 
QuestionCould anyone look below code and errors and explain what I have to do Pin
Commoner25-Dec-05 14:03
Commoner25-Dec-05 14:03 
AnswerRe: Could anyone look below code and errors and explain what I have to do Pin
Commoner25-Dec-05 14:04
Commoner25-Dec-05 14:04 
GeneralRe: Could anyone look below code and errors and explain what I have to do Pin
Commoner25-Dec-05 14:31
Commoner25-Dec-05 14:31 
GeneralRe: Could anyone look below code and errors and explain what I have to do Pin
asdfkjsodifuweior25-Dec-05 18:40
asdfkjsodifuweior25-Dec-05 18:40 
GeneralRe: Could anyone look below code and errors and explain what I have to do Pin
asdfkjsodifuweior25-Dec-05 18:40
asdfkjsodifuweior25-Dec-05 18:40 
AnswerRe: Could anyone look below code and errors and explain what I have to do Pin
PJ Arends25-Dec-05 14:34
professionalPJ Arends25-Dec-05 14:34 
Questionadd PATH in VC IDE Pin
LeeeNN25-Dec-05 8:50
LeeeNN25-Dec-05 8:50 
AnswerRe: add PATH in VC IDE Pin
TheGreatAndPowerfulOz25-Dec-05 16:59
TheGreatAndPowerfulOz25-Dec-05 16:59 
AnswerRe: add PATH in VC IDE Pin
vipinasda26-Dec-05 6:23
vipinasda26-Dec-05 6:23 
QuestionCan Win32 Dll loads menu in demand ? Pin
Subash.k25-Dec-05 4:08
Subash.k25-Dec-05 4:08 
AnswerRe: Can Win32 Dll loads menu in demand ? Pin
vipinasda25-Dec-05 4:39
vipinasda25-Dec-05 4:39 
GeneralRe: Can Win32 Dll loads menu in demand ? Pin
Subash.k25-Dec-05 18:42
Subash.k25-Dec-05 18:42 
GeneralRe: Can Win32 Dll loads menu in demand ? Pin
vipinasda26-Dec-05 5:25
vipinasda26-Dec-05 5:25 
GeneralRe: Can Win32 Dll loads menu in demand ? Pin
ThatsAlok26-Dec-05 17:18
ThatsAlok26-Dec-05 17:18 
GeneralRe: Can Win32 Dll loads menu in demand ? Pin
ThatsAlok26-Dec-05 17:20
ThatsAlok26-Dec-05 17:20 

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.