Hi,
How to give Fixed Size for CFormViewin CSplitterWnd?..
I'm currently creating a base CDialog base class which I would reuse it for other dialogs. I need to attach a button to the dialog to do certain functionality. However, I do not wish to do it ...
Ah hello.
Simple and quick (I hope) this one: I would like to be able to make an edit control that looks like the following:
http://img401.imageshack.us/img401/1089/buttonyi6.jpg
Cle...
Hi Experts,
I'm using a library that is STL-only. My stupid question is - why is DWORD (or BOOL) not recognized?
Thank you,
Mike
Hi everybody,
when I create a new MDI application using extended features (especially 'menu bar') from MFC Feature Pack for VS 2008 I encounter following problem: When the view has set the ...
After all the rows selected programmatically by SelectAll()
I click on a list control anywhere except checkboxes and
all the rows become highlighted from gray into deepblue , and then, if ...
I have been applying the CImage class within a Visual C++/MFC DLL. I am experiencing a mysterious exception in atlimage.h line 1217 when I call CImage::GetPixel(0,0). The offending statement...
Hallo all,
I want to sort my listview but it didn't work. The SortFunc() function was called multiple times but lParam1 and lParam2 were 0 every time. What was wrong here?
Thank you very muc...
Hello,
I would like to get the row and column when I have click on my ListView.
I have added the following code:
m_List.SetExtendedStyle(LVS_EX_GRIDLINES|LVS_EX_FULLROWSELECT);
void CM...
Hiya
I have an SDI MFC application.
I want to add a splitter so I can split the frame into two i.e. a top and bottom.
In the top bit I want to show the existing view (the one created ...
Hi experts,
I have developed an application in MFC, in which I have a PropertySheet and PropertyPages.
I need to add Context help in the property page with Maximize box also enabled,
but ms...
Hi,
i have some item in the list before starting the application.where i need to write the code to get the items in the list just after creation.
Hi,
I would like to create a simple push button (with handler...on_bn_clicked) at my view class.
Should be easy.
But my code will not work. Where is the error.
Please help.
500 points.
B...
Hello,
I hope anybody can help me with following problem: I have a Listctrl with a ReportStyle and so with HeaderCtrl. The ListCtrl is customdraw. Now I want to hide the HeaderCtrl in the L...
Hiya
Can anybody tell me how to create a two dimensional array of CRect objects in an MFC application?
John
Ah hello.
I have derived a class from CScrollBar, CMyScroll. I add a V scrollbar and H scrollbar to my dialog, then link them up via DDX so they are instances of CMyScroll. In the CMyScrol...
Hello,
I would like to make phone call when I click on a phone-no.
I tried to use the dialer.exe in Windows NT. But I can not add a phone-no like this:
ShellExecute(NULL,"open","dialer","95...
Hi,
After googling all day, I thought i would post it here.
I have a MFC application in which i want to integrate a compiled help file.
with few links i could do it.
however on a CDialog...
Hi,
How to addbuttons to ClistCtrl on top of header?
When I do SelectAll() all the rows highlighted in gray and
If I click on my list control anywhere except checkboxes
the rows are changing highlight from gray into deep blue ,
which takes ...
//----------- open Dialog -------------
if(m_mydialog.DoModal()==IDOK)
{
}
//-----------------------------------------------
In my SDI program I have 2 dialogs. When I click on...
Hi, Experts!
I have
CmyListCtrl :: LengthyFunction ()
{
for n =1;n++;n<5000)
{
Doing something&
}
}
I need to post a message to CMyDlg(dialog class)
Every time I go through the lo...
Anybody can help me locate a good charting library (affordable, for C++/MFC developers, royalty-free, supports both displaying and printing if possible, and all the good things). I am building...
Hi I have a thread that works sometimes but I need it to work everytime I start it and stop it can any one help me out
Here is what I have:
As you can see when I want to enable the thread I ...
I have been encountering a querky bug when executing WinExec from my win32 windows service. I am attempting to open IE Explorer 6 with the following command,
retCode = ::WinExec(command.c_...