Works fine. Thanks
P Rex
Posts
-
How to start internet explorer in fullscreen mode -
How to start internet explorer in fullscreen modeHi guys, i want to start internet explorer in fullscreen mode (F11). how can i do that? it is no problem to start internet explorer with shellexecute:
ShellExecute(NULL, NULL,"C:\\Program Files\\Internet Explorer\\iexplore.exe","www.codeproject.com",NULL, SW_SHOWMAXIMIZED);
-
Urgent help my projects class view has gone and resource view stopped workingTry to delete *.ncb, *.opt and *.aps files in your working folder. rebuild your app. this helped me a lot of times.
-
Google has vanished!!André Ziegler wrote:
'A programmer ist just a tool which converts caffeine into code'
just a bit germ-lish Greetz from Stuttgart :cool:
-
Using a monitor in portrait orientationNormanS wrote:
Is this option available as a standard Windows setting?
i dont know.
NormanS wrote:
Is this option available as a feature of some graphics cards?
new graphiccards should support rotation of 90, 180, 270 degrees. my one year old nvidia supports this. P.
-
New Voting System?if its done it looks like this Score: 4.0 (1 vote). Voted: 4 P. :cool:
-
How to make the mfc button as press & lockwhy you dont use the radiobutton with push-like style? i think that would be the easiest way. P.
-
Where yoo from?added myself too! 2nd from germany :cool:!?
-
Listbox with VScrollBarHi guys, i have a dialog with a listbox. the styles for the listbox are 'Border, Multicolumn, Vertrical scroll'. But the listbox never shows the vertical scrollbar. anyone can help? P.
-
I have an errorCString filename = _T("C:\\RongVang.txt"); CStdioFile f; if(!f.Open(filename,CFile::modeReadWrite)) f.Open(filename,CFile::modeCreate|CFile::modeReadWrite); f.SeekToEnd(); CString s = _T("Test Create file\n"); f.WriteString(s);
dont forget to close your file. -
I have an errorWhy do you open the file two times? i think there you get the error.
if(!f.Open(filename,CFile::modeReadWrite)) f.Open(filename,CFile::modeCreate);
Try this:if(!f.Open(filename,CFile::modeCreate | CFile::modeReadWrite))
-
How can I run a program in system tray?try this P.
-
Registry for storing and retriving dataTake a look at
CRegKey, WriteProfileString, WriteProfileInt, GetProfileString
andGetProfileInt
in MSDN. P. -
mfc edit boxCString strPath GetDlgItemText(IDC_EDIT_PATH, strPath);
P. -
Explorer type applicationBOOL CDirTreeDemoView::PreCreateWindow(CREATESTRUCT& cs) { cs.style |= LVS_EDITLABELS | LVS_REPORT; return CListView::PreCreateWindow(cs); } void CDirTreeDemoView::OnInitialUpdate() { CListView::OnInitialUpdate(); CListCtrl& refCtrl = GetListCtrl(); CMainFrame* pFrame = STATIC_DOWNCAST(CMainFrame, AfxGetMainWnd()); // insert columns refCtrl.InsertColumn(0, _T("File Name"), LVCFMT_LEFT, 192); refCtrl.InsertColumn(1, _T("Size"), LVCFMT_RIGHT, 96); refCtrl.InsertColumn(2, _T("Last Modified"), LVCFMT_CENTER, 128); DWORD dwExListStyles = LVS_EX_FULLROWSELECT; GetListCtrl().SetExtendedStyle(dwExListStyles); }
Maybe this will help P. -
CListCtrl / Select itemHi Guys, I want to select the first item i inserted in my ListCtrl. How can i do this? P.:cool:
-
new user' test only:laugh:
-
problem with atlbasemaybe he is not allowed to enter the registry or the key is not found where you are looking for it!?
-
C# Projectcrazy world
-
limerick-of-the-day:laugh: