Click here to Skip to main content
15,906,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Memory Management Problem C++ (malloc & free) Pin
dehseth5-May-08 6:05
dehseth5-May-08 6:05 
GeneralRe: Memory Management Problem C++ (malloc & free) Pin
David Crow5-May-08 6:17
David Crow5-May-08 6:17 
QuestionUse Date/Time in SQL statement Pin
includeh104-May-08 20:29
includeh104-May-08 20:29 
QuestionRe: Use Date/Time in SQL statement Pin
Rajesh R Subramanian4-May-08 20:41
professionalRajesh R Subramanian4-May-08 20:41 
AnswerRe: Use Date/Time in SQL statement Pin
Ozer Karaagac5-May-08 0:03
professionalOzer Karaagac5-May-08 0:03 
QuestionNeed a solution in adding activeX controls in MFC dialog.... Pin
Khathar4-May-08 19:37
Khathar4-May-08 19:37 
AnswerRe: Need a solution in adding activeX controls in MFC dialog.... Pin
Hamid_RT4-May-08 19:43
Hamid_RT4-May-08 19:43 
AnswerRe: Need a solution in adding activeX controls in MFC dialog.... Pin
Rajkumar R4-May-08 20:57
Rajkumar R4-May-08 20:57 
Khathar wrote:
i have included one activeX control in my MFC dialog project, through Project-->Add to Project-->Component & controls. and its appeared in the toolbox.

It shows you are using VS 6.0 or lower (than 2005)


Khathar wrote:
is it possible to remove that control from the toolbox? if yes how, no means why?


1) no, it is the issue with VS [PRB: Can't Remove Controls from the Controls Toolbar in VC++^], go for higher IDE like 2005 or higher it supports easy UI for that.

2) yes, but manually [How to remove a Toolbox component, an OLE Control, or a Component Gallery component from a Visual C++ project
^
]


Khathar wrote:
(e.g. MSFlexGrid).

remove all the files created (font1.(cpp & h) msflexgrid.(cpp & h) picture1.(cpp & h) rowcursor1.(cpp & h) remove any dependency with other classes like message handlers)
delete or backup your *.dsw file and edit your *.dsp file to remove the sections
# Section <project name> : {7BF80981-BF32-101A-8BBB-00AA00300CAB}
# 	2:5:Class:CPicture
# 	2:10:HeaderFile:picture1.h
# 	2:8:ImplFile:picture1.cpp
# End Section
# Section <project name> : {9F6AA700-D188-11CD-AD48-00AA003C9CB6}
# 	2:5:Class:CRowCursor
# 	2:10:HeaderFile:rowcursor1.h
# 	2:8:ImplFile:rowcursor1.cpp
# End Section
# Section <project name>: {6262D3A0-531B-11CF-91F6-C2863C385E30}
# 	2:21:DefaultSinkHeaderFile:msflexgrid1.h
# 	2:16:DefaultSinkClass:CMSFlexGrid
# End Section
# Section <project name>: {5F4DF280-531B-11CF-91F6-C2863C385E30}
# 	2:5:Class:CMSFlexGrid
# 	2:10:HeaderFile:msflexgrid1.h
# 	2:8:ImplFile:msflexgrid1.cpp
# End Section
# Section <project name>: {BEF6E003-A874-101A-8BBA-00AA00300CAB}
# 	2:5:Class:COleFont
# 	2:10:HeaderFile:font1.h
# 	2:8:ImplFile:font1.cpp
# End Section

now re load the *dsp and allow the IDE to create fresh *dsw



Khathar wrote:
because my system is getting dead slow to compile the project ones i have include the ActiveX control.

Are you sure compile time is because of this, please have a look at [reducing Compilation time^]
Questioncreating a status bar in VC++,MFC Pin
Mohanraj D4-May-08 18:47
Mohanraj D4-May-08 18:47 
AnswerRe: creating a status bar in VC++,MFC Pin
Hamid_RT4-May-08 19:07
Hamid_RT4-May-08 19:07 
GeneralRe: creating a status bar in VC++,MFC Pin
Mohanraj D4-May-08 19:27
Mohanraj D4-May-08 19:27 
GeneralRe: creating a status bar in VC++,MFC Pin
Nitheesh George4-May-08 19:32
Nitheesh George4-May-08 19:32 
GeneralRe: creating a status bar in VC++,MFC Pin
Mohanraj D4-May-08 20:01
Mohanraj D4-May-08 20:01 
GeneralRe: creating a status bar in VC++,MFC Pin
Hamid_RT4-May-08 20:33
Hamid_RT4-May-08 20:33 
GeneralRe: creating a status bar in VC++,MFC Pin
Rajkumar R4-May-08 21:31
Rajkumar R4-May-08 21:31 
QuestionRe: creating a status bar in VC++,MFC Pin
David Crow5-May-08 3:31
David Crow5-May-08 3:31 
QuestionHow to send message to a child window Pin
Nitheesh George4-May-08 18:20
Nitheesh George4-May-08 18:20 
AnswerRe: How to send message to a child window Pin
Hamid_RT4-May-08 19:08
Hamid_RT4-May-08 19:08 
GeneralRe: How to send message to a child window Pin
Nitheesh George4-May-08 19:11
Nitheesh George4-May-08 19:11 
AnswerRe: How to send message to a child window Pin
ThatsAlok4-May-08 23:53
ThatsAlok4-May-08 23:53 
QuestionNot able to write .doc file in Win32 using FILE pointer. Pin
vijay_k4-May-08 18:18
vijay_k4-May-08 18:18 
QuestionRe: Not able to write .doc file in Win32 using FILE pointer. Pin
Rajkumar R4-May-08 21:59
Rajkumar R4-May-08 21:59 
AnswerRe: Not able to write .doc file in Win32 using FILE pointer. Pin
CPallini4-May-08 21:59
mveCPallini4-May-08 21:59 
GeneralRe: Not able to write .doc file in Win32 using FILE pointer. Pin
vijay_k4-May-08 22:40
vijay_k4-May-08 22:40 
QuestionRe: Not able to write .doc file in Win32 using FILE pointer. Pin
CPallini4-May-08 22:59
mveCPallini4-May-08 22: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.