In Visual Studio 6.0 it was working.In Visual Studio 2005 it is not working.
sheetal_06
Posts
-
Bitmap not getting loaded -
Bitmap not getting loadedHi, We are settignowner draw to true and then trying to load the bitmap on to the button.It was working properly before VS2005. Please help. Thanks.
-
Bitmap not getting loadedHi, Thanks for your suggestion. Bitmap is set to false.That way it is working before VS2005 conversion.Not only that if we make the base class CDialog then tha bitmap is coming.CPropertyPage also has tha base class as CDialog. But as per the design i cannot chabge the base class to CDialog. Please suggest a solution. Regards.
-
Bitmap not getting loadedyes,bitmap id is valid.If i go into Autoload,it is returning success. Please help.It is urgent. Thanks.
-
Bitmap not getting loadedHi, I have written a code like this: .h file ======= class CPressuresResultsPropertyPage : public CPropertyPage { CBitmapButton m_BitMapButton; }; .cpp file ========= BOOL CPressuresResultsPropertyPage::OnInitDialog() { CPropertyPage::OnInitDialog(); m_BitMapButton.AutoLoad(IDC_ROTATE,this); } After VS2005 conversion the button is not loading the bitmap IDC_ROTATE.Before that it was working properly. If the dialogs immediate base class is CDialog then it is loading the bitmap.Eventhough CPropertyPage is inherited from CDialog the bitmap is not getting loaded. Thanks.
-
SetWindowPos in COM applicationHi, I am using SetWindowPos(&wndTopMost,0,0,0,0,SWP_NOSIZE); inside OnInitDialog() to place the dialog as the top most.But after that if i click on any other opened application this window is not getting minimized on to the taskbar. This dialog is displayed through a com interface. Please help,it is urgent.
-
Server busy message [modified]Hi, I have one MDI application TrialApp.exe and a COM exe MathOperation.exe.COM exe was generated through ATL.Now from a modeless dialog in TrialApp.exe i am accessing a model dialog in MathOperation.exe. 1.Run TrialApp.exe 2.Modeless dialog pops up. 3.Enter the input values. 4.Press a button->calculate. 5.Pops up a dialog from MathOperation.exe 6.Now without closing the dialog(from MathOperation.exe) just click on the modeless dialog(TrialApp.exe) 7.Shows server busy message. This happens in XP and Vista.If i make the dialog model in TrialApp.exe then the message is not coming.Please help. Thankyou
modified on Wednesday, March 19, 2008 1:30 AM
-
How to restore dialog?No code for minimizing. This behaviour is only in Vista. In xp it is not getting minimized.It is displayed on top of all other windows.
-
How to restore dialog?Hi, In vista os,when i am trying to open a dialog in application b.exe through another application a.exe the dialog is always appearing on the taskbar.It is not getting displayed on the screen unless you press on the minimized dialog on taskbar.How to change this behaviour?This happens only in vista not in XP. Thanks, Sheetal
-
UACWe will give Admin right,limited access etc.That details i want.
-
virtual registry entries.I have a piece of code which checks whether the current user has the permission to access a HKEY_LOCAL_MACHINE registry entry.When i change the access right for the user to limited actually the user should not be allowed to acess the particular registry entry.But vista is allowing where as xp is not allowing.In vista i think it is getting written into the virtual registry entries(since it doesn't allow in the actual registry).How to prevent this? Any help would b of great use. Thanks
-
UACHow to get details from User Acoount Control?Especially about the privileges guven to the particular user through coding? Thanks
-
privilege given to a user [modified]for the windows system(xp and above)
-
privilege given to a user [modified]How to find out the privilege given to a user(admin/limited access..)through coding? Thanks -- modified at 6:53 Tuesday 31st July, 2007
-
application crash in tree controlya all have sub directories.
-
application crash in tree controlThe following is a code snippet for checking the subdirectories. This code is crashing in the highligted line when sStr is "C:\".If it is "D:\" or "E:" it is working. void CBatchPrintDlg::ChkForSubDir( CString sStr, HTREEITEM hTree ) { struct _finddata_t c_file; long hFile; ::SetCurrentDirectory((LPCTSTR)sStr); if( (hFile = _findfirst( "*.*", &c_file )) != -1L ) { if ( IsDirectory ( c_file.attrib ) ) InsertItemTOTree( (LPCTSTR)c_file.name, hTree ); //m_tree.InsertItem((LPCTSTR)c_file.name, hTree ); while( _findnext( hFile, &c_file ) == 0 ):confused: { if ( IsDirectory ( c_file.attrib ) ) { InsertItemTOTree( (LPCTSTR)c_file.name, hTree ); //m_tree.InsertItem((LPCTSTR)c_file.name, hTree ); //break; } } _findclose( hFile ); } } Please help. Thanks.
-
xp or vista?Ya through code.. Thankyou very much.
-
xp or vista?How to check whether the os is xp or vista? Thanks
-
KeyDownThankyou very much...
-
KeyDownHow to detect which key has been pressed along with ctrl key? Thankyou