|
Press F6.
Nibu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
|
|
|
|
|
Thanks.
After this,plz tell me how can Enter key works on List ctrl.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hi all,
i m working on VC++ 2005, MFC-SDI type application.
Please anyone can give me basic idea for desinging of Employee Schedular
where we can schedule all employee related activities like Shifts, Appointments, Leave etc.
Please tell me how can desing in VC++ 2005.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Do you need to ITaskScheduler ?
|
|
|
|
|
Yes.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
|
thanks
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
You're welcome.
|
|
|
|
|
I had to adjust the trolls vote to you my friend.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Thanks Rajesh it seems that somebody doesnt like our answers.
|
|
|
|
|
How to Full Screen in SDI like ACDsee?
Help~~~~~~~~~~~~~~~~
modified on Monday, June 16, 2008 3:55 AM
|
|
|
|
|
ChangeDisplaySettings[^].
Example:
DEVMODE dmScreenSettings;
memset(&dmScreenSettings,0,sizeof(dmScreenSettings));
dmScreenSettings.dmSize = sizeof(dmScreenSettings);
dmScreenSettings.dmPelsWidth = iWidth;
dmScreenSettings.dmPelsHeight = iHeight;
dmScreenSettings.dmBitsPerPel = 32;
dmScreenSettings.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL;
if (ChangeDisplaySettings(&dmScreenSettings,CDS_FULLSCREEN)
!= DISP_CHANGE_SUCCESSFUL)
{
}
With iWidth and iHeight being the resolution.
|
|
|
|
|
This seems problem by MFC design.
From MSDN:
Set m_nCmdShow to SW_SHOWMAXIMIZED to maximize or SW_SHOWMINIMIZED to minimize the main frame window initially. This variable has to be modified in the InitInstance() function of the CWinApp-derived class before the main window is made visible.
Refer here:FIX: Advanced Options for SDI Application in Appwizard
[^]
--
"Programming is an art that fights back!"
|
|
|
|
|
|
When in "Full-Screen" mode there is still a white border along the bottom and right hand side of the screen. For true full-screen this should be removed also. I have been trying unsuccessfully to remove it though.
How can i do it?
|
|
|
|
|
Did you split diaogdialog?
|
|
|
|
|
how to use clistctrl to create multiple columns and add strings to the columns???i have created a variable to my listbox and it does not has InsertColumn() method
Raja
|
|
|
|
|
Mohanraj D wrote: how to use clistctrl to create multiple columns and add strings to the columns???i have created a variable to my listbox
A list control is not a list box. Is that a CListCtrl or a CListBox ? Please be specific.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
i have a listbox and i need to create a reportview in it,what should be done???i got earlier replies like use clistctrl to display text horizontally...but i don't know how to use CListCtrl,now i have a listbox and have created a variable for it,what should be done to display text as shown below
no name starttime endtime
1 first 10 12
2 second 11 13
.....
Raja
|
|
|
|
|
To display such columnar information, you should use CListCtrl. Googling for CListCtrl Example gave me this link[^]. The example over there is precise, easy to understand. Get back with specific queries, if you have problems doing it.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
i have a list box and i rightclick it and add a variable to it named list and after doing it if i view the methods for list i don't have InsertColumn( ) method atall in it!!!what should be done???
Raja
|
|
|
|
|
What is the type of your variable ?
|
|
|
|
|
the variable is of CListBox type
Raja
|
|
|
|
|
CListBox does NOT have an InsertColumn() method. How many times have you been told? If you need to display information in columnar style, use a CListCtrl. I pointed out an example to use CListCtrl as well. Nobody can help you out if you are not willing to help yourself at first.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
i have done the following code inside the listctrl..there is no errors but while i run it iam not able to see the columns???
list.InsertColumn(0,"Heading 1" ,LVCFMT_LEFT, 100);
list.InsertColumn(1, "Heading 2",LVCFMT_LEFT, 120);
list.InsertItem(0,"Item1");
list.InsertItem(1,"Item2");
Raja
|
|
|
|