Hi, I have a dialog based application in which i have created a toolbar . now i want to display tooltips for each of the items in the toolbar. I have tried the following : CToolTipCtrl Tips; Tips.Create(this); Tips.AddTool(GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); In PretranslateMessage: Tips.RelayEvent(pMsg); i have also tried: CWnd *pwnd=AfxGetApp()->m_pMainWnd->GetDlgItem(IDR_TOOLBAR); Tips.Create(this); Tips.AddTool(pwnd->GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); but to no success .... can you please help me... Thanking you Regards Satadru Karjee.
satadru
Posts
-
Tooltips in a dialog based application -
constant tooltip over cwnd derived controlHi, I'm sorry to disappoint by asking you a question rather than giving you a solution. The problem is : I have a dialog based application in which i have created a toolbar . now i want to display tooltips for each of the items in the toolbar. I have tried the following : CToolTipCtrl Tips; Tips.Create(this); Tips.AddTool(GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); In PretranslateMessage: Tips.RelayEvent(pMsg); i have also tried: CWnd *pwnd=AfxGetApp()->m_pMainWnd->GetDlgItem(IDR_TOOLBAR); Tips.Create(this); Tips.AddTool(pwnd->GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); but to no success .... can you please help me... Thanking you Regards Satadru Karjee.
-
packaging VC++ applicationhi i have a vc++ application exe but donno how to make an installer can anyone help me
-
OnkeyDown in dialogi tried thid but didnt work: BOOL ControlDialog::PreTranslateMessage(MSG* pMsg) { if (pMsg->message==WM_KEYDOWN) { MessageBox("I did it!"); } return CDialog::PreTranslateMessage(pMsg); }
-
OnkeyDown in dialoghi, have a dialog based application in which i would like to capture the OnKetDown event...but inspite of mapping it thru the Class Wizard ...it doesnt seem to work... what is the reason..... Satadru.
-
activex problemhi thanks for your reply .. i have found out the problem... while creating the methods for the control i used functions which are by default reference but in vc++ its by value .... that was the problem ..thanks anyway
-
activex problemhi thanks for your reply .. i have found out the problem... while creating the methods for the control i used functions which are by default reference but in vc++ its by value .... that was the problem ..thanks anyway
-
activex problemhi , i have created an activex control in vb. in one of the method the user passes the file path to the control. in vb i used string to get the file path... now in vc++ when i insert the control its been declared i.e the string variable is been declared as BSTR* filepath...so i cant pass the variable which i am capturing as a CString. What is the problem??? Thanking you. Satadru.
-
i need the gurushelp-image processinghi , thanks for the help cud u please tell me which article is that.... i have another problem.. from my main dialog iam creating another dialog and popping it....from this second dialog i have to access members of the main dlg ... how do i go about it ... i have tried DYNAMIC_DOWNCAST but it isnt working in my compiler ... any way ouy... Thanking you. Satadru
-
i need the gurushelp-image processinghi , i have the following problems... would be gratefulif you could kindly give me some suggestions..... 1)i have a dialog based application in which i have to implement a scroll view .. can i use CSrollView(i suppose i cant)..if not how do i do it..if yes then how do i do it :-D 2)i have to capture the entire image irrespective of being within the viewable region or not ....how do i go about it.... plesae help... Thanking you. Satadru
-
CMemDc helphi , thanks for your kind help.... i have the following problems... would be gratefulif you could kindly give me some suggestions..... 1)i have a dialog based application in which i have to implement a scroll view .. can i use CSrollView(i suppose i cant)..if not how do i do it..if yes then how do i do it :-D 2)i have to capture the entire image irrespective of being within the viewable region or not ....how do i go about it.... plesae help... Thanking you. Satadru
-
CMemDc helphi , i have a dialog based application in which i would like to incorporate the CMemDC concept ... can i use it???] Thanks Satadru
-
How to a get a coloured buttoncheckout for CxShadeButton class its a 'Class' of its own
-
DYNAMIC_DOWNCASTHi, people does any one of you have any idea about DYNAMIC_DOWNCAST...plz help
-
kodak imgeditactually i tried to load using the set image function but its showing some assertion failure ..can u please ehlp me out on how to go about it
-
kodak imgedithow to load an image using kodak imgedit activex control ... i ma getting error while loading it ... any help????
-
Detecting Resolution Change?Sometimes the user might move the dialog box around screen till it is partly outside the desktop. And you might want to bring the dialog box back into full view. There might also be a a situation where you did the development on a higher resolution and on your machine it comes up nice and full, but the final user might be using a lower screen resolution and thus part of the dialog will be out of the screen. Again you'd really want to make sure the dialog box is fully visible. Well, believe it or not, this can be accomplished with just one line of code. SendMessage(DM_REPOSITION); Smooth eh? Remember that this message only works for top level dialog boxes and will not work for child dialogs. u can also check for GetSystemmetrix
-
Redrawing window -help reqdhi , i have a dialog bases application in which repainting the application is very much necessary .... does anybody has any idea about the following and how to implement them: 1)SetRedraw 2)ReDrawWindow 3)Setting the parameters CS_VREDRAW and CS_HREDRAW in the WNDCLASS , so the window takes care about the repainting in the subsequent WM_PAINT message. Please help me in this regard .... iam kinda lost :confused: Thanking you Satadru
-
Kodak Image EditHi, Iam trying to incorporate the kodak image edit activex control in my vc++ dialog based application...can anyone help me out in how to use this control .... Any help would be highly appreciated. Thanking you Satadru
-
Undo/Redo help required...hi, i have a dialog based application in which i am loading images and editing it..for this i need the undo and the redo functions ... any idea how do i go about it. Any help is warmly welcomed. Thanking you. Satadru.