|
I am not able to find this file
ATLNotify.tlb
so I am getting the below error message
error RC2135 : file not found: ATLNotify.tlb
S.Yamini
|
|
|
|
|
Come on ! What is this project ? Where you are using this ?
|
|
|
|
|
|
yaminisridaran wrote: http://www.codeproject.com/useritems/Notifier_using_ATL.asp[^]
Its mine.
You need to ask question in message board of that article only. Use rebuild command to build the application.
|
|
|
|
|
I know it is urs.
I rebuild it but I getting the error message which I mentioned earlier.I want to start studing com. can u give me any suggestions
S.Yamini
|
|
|
|
|
|
Refer point number 9 in this[^] post.
|
|
|
|
|
i'm only asking for help. i'm not asking for someone to do the thing for me. there's a diffence....
|
|
|
|
|
if we write something into the registry (userid and password) using
CWinApp::WriteProfileString()
how to delete it from the system?
I am using WIN2K Prof.
Thank you
KIRAN PINJARLA
|
|
|
|
|
Have u read the help of CWinApp::WriteProfileString() in MSDN carefully, if u send third parameter i.e. lpszValue to NULL, the entry is deleted.
Smile
|
|
|
|
|
Thank you.
But I want to delete it manually not progamtically,
How to do this?
KIRAN PINJARLA
|
|
|
|
|
run Regedit or Regedt32 from the Run box or command prompt
Judy
|
|
|
|
|
Hi,
I am developing an MFC application.
I have added some resources to the project using the resource editor.
I am also creating and displaying a popup menu dynamically.
I add menu items to the popup menu dynamically.
How can I ensure that the IDs which I assign to menu items do not conflict with IDs of other resources in my project?
Is there any way that I may reserve a range of IDs so that none of the other project resources gets ID which lies in my range?
|
|
|
|
|
|
I tried implemented SetDialogBkColor in InitInstance inorder to change the colour of my dialog box but after running it I dont see any change in the dialog colour.Please Help me
S.Yamini
|
|
|
|
|
yaminisridaran wrote: inorder to change the colour of my dialog box
Handle WM_CTLCOLOR message and return the brush handle if nCtlColor parameter is CTLCOLOR_DLG
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
can u please explain this to me
S.Yamini
|
|
|
|
|
Thanks. Can u explain this to me
S.Yamini
|
|
|
|
|
Refer here[^]
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
i implemented the code but it is showing error can u tell me how u have implmented the m_brush
S.Yamini
|
|
|
|
|
yaminisridaran wrote: implmented the m_brush
its handle to the brush object. Refer CBrush class for more details.
Sample,
CBrush m_brDlg;
m_brDlg.CreateSolidBrush( RGB(...) );
(HBRUSH)m_brDlg
m_brDlg.DeleteObject();
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
Parthi_Appu wrote: CBrush m_brDlg;m_brDlg.CreateSolidBrush( RGB(...) );(HBRUSH)m_brDlg /* to get the handle from CBrush object *//* Make sure to delete the object if you no more need it */m_brDlg.DeleteObject();
Handle returned by this method would not be valid, as it goes out of scope.
Need to use win32 API CreateSolidBrush and return HBRUSH .
|
|
|
|
|
Sorry i didn't mention its a member, but the sample code has naming convention, which will say that m_brDlg is a member to the dialog class.
Sorry once again to miss out the point...
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
I have implement the below code in OnCtlColor but still the colour is not changed.
HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
// TODO: Change any attributes of the DC here
CBrush m_brush;
m_brush.CreateSolidBrush( RGB(255,0,0) );
if (CTLCOLOR_DLG == nCtlColor)
return m_brush;
// TODO: Return a different brush if the default is not desired
return hbr;
S.Yamini
|
|
|
|
|