Click here to Skip to main content
15,901,284 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconstructor call for a template class Pin
prithaa12-Mar-07 20:57
prithaa12-Mar-07 20:57 
AnswerRe: constructor call for a template class Pin
prasad_som12-Mar-07 21:03
prasad_som12-Mar-07 21:03 
GeneralRe: constructor call for a template class Pin
prithaa12-Mar-07 21:15
prithaa12-Mar-07 21:15 
QuestionRe: constructor call for a template class Pin
prasad_som12-Mar-07 21:19
prasad_som12-Mar-07 21:19 
GeneralRe: constructor call for a template class Pin
prithaa12-Mar-07 21:19
prithaa12-Mar-07 21:19 
AnswerRe: constructor call for a template class Pin
prasad_som12-Mar-07 22:55
prasad_som12-Mar-07 22:55 
QuestionMSBuild :-MSB4068:pattern unrecognised error Pin
Manjunath S12-Mar-07 20:57
Manjunath S12-Mar-07 20:57 
QuestionList View not working at Window 98 Pin
aaaan12-Mar-07 20:50
aaaan12-Mar-07 20:50 
Hi Everybody!

I m working on a VC++ application in which i m creating a SDI application. IN this application I create a list Ctrl on CView at run time to show the data.The part of the code which i use to create the list on the CView at run time is
void CMyApplicationView::ShowListView()
{
if(p_ListView == NULL)
{
p_ListView = new CMyListView;
CRect rect;
GetClientRect(rect);
p_ListView->Create(NULL,
NULL,
LVS_EX_GRIDLINES|WS_CHILD|WS_VISIBLE,
rect,
this,
1012,
NULL);
CFont *SimpleFont = new CFont;
CDC *dc = GetDC();
int size = 12;
CString FaceName = "Times New Roman";
SimpleFont->CreatePointFont(size*10,FaceName,dc);
CListCtrl& MyCtrl = p_ListView->GetListCtrl();
MyCtrl.GetHeaderCtrl()->SetFont(SimpleFont);
MyCtrl.SetExtendedStyle(LVS_EX_GRIDLINES|LVS_EX_FULLROWSELECT);
delete SimpleFont;
p_ListView->ShowWindow(WS_MAXIMIZE);

}
}

This code is working properly on all the OS except 98. In win 98 the ListView is not show in the Right pane of my application window.
Pls help me so that this code also works in Window 98.

Ansh
QuestionHow to get width and height??? Pin
siddharthsan12-Mar-07 19:48
siddharthsan12-Mar-07 19:48 
QuestionRe: How to get width and height??? Pin
prasad_som12-Mar-07 20:55
prasad_som12-Mar-07 20:55 
AnswerRe: How to get width and height??? Pin
siddharthsan12-Mar-07 21:08
siddharthsan12-Mar-07 21:08 
QuestionFind Crash in Release mode Pin
RajiRaghu12-Mar-07 20:47
RajiRaghu12-Mar-07 20:47 
AnswerRe: Find Crash in Release mode Pin
prasad_som12-Mar-07 20:54
prasad_som12-Mar-07 20:54 
QuestionHow to get width and height??? Pin
siddharthsan12-Mar-07 20:47
siddharthsan12-Mar-07 20:47 
GeneralRe: How to get width and height??? Pin
prasad_som12-Mar-07 21:11
prasad_som12-Mar-07 21:11 
GeneralRe: How to get width and height??? Pin
siddharthsan12-Mar-07 21:29
siddharthsan12-Mar-07 21:29 
GeneralRe: How to get width and height??? Pin
prasad_som12-Mar-07 22:41
prasad_som12-Mar-07 22:41 
QuestionHow to set font in VC++6.0 for particular application which should not affect other part of OS. Pin
Atul2312-Mar-07 20:33
Atul2312-Mar-07 20:33 
AnswerRe: How to set font in VC++6.0 for particular application which should not affect other part of OS. Pin
Ranjoy Guha13-Mar-07 2:20
Ranjoy Guha13-Mar-07 2:20 
QuestionDynamic timer Pin
sulabh_expert@rediffmail.com12-Mar-07 20:13
sulabh_expert@rediffmail.com12-Mar-07 20:13 
QuestionDetermining Proxy In Use? Pin
Peter Weyzen12-Mar-07 19:42
Peter Weyzen12-Mar-07 19:42 
QuestionPCI Parallel Port Pin
johncotter12-Mar-07 19:17
johncotter12-Mar-07 19:17 
AnswerRe: PCI Parallel Port Pin
Garth J Lancaster12-Mar-07 20:14
professionalGarth J Lancaster12-Mar-07 20:14 
Questiontransfering a file in serial port Pin
saranjeganinvent12-Mar-07 19:10
saranjeganinvent12-Mar-07 19:10 
AnswerRe: transfering a file in serial port Pin
ThatsAlok12-Mar-07 19:48
ThatsAlok12-Mar-07 19:48 

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.