I write down these 2 lines. CFindReplaceDialog* dlg = new CFindReplaceDialog(); dlg->Create(TRUE, _T("aaa"), NULL, FR_DOWN, *this); but, nothing popup. when i...
Great! It's shown. Thank you so much Igor. MTPad is a wonderful example, but it's a little complex for me. and no document here for it. WTL study is a tough...
Hello Robert, Thanks fo the information. After your confirmation (I had never created WTL MDI application, only SDI), I created another WTL sample and it works...
I type find string in text box, then hit enter on keyboard, nothing happened. only click FindNext button can send out the find message. finally i found main...
... Yes, as you noted, since the find dialog is non-modal, it doesn't have it's own message loop and the message loop for the parent GUI thread is used. Check...
Hi, I have ReBar in my MainFrame that have a few ToolBars on it. I would like to add a wide static control to one of the toolbars. I tried to modify...
there is no proper common control for this. i found somebody use richedit to implement it. so, EN_LINK notify message should be handled. it's too boring....
Hi Hawk, The about dialog of the WtlOOo sample at http://www.codeproject.com/KB/wtl/Wtl_OOo.aspx // aboutdlg.h : interface of the CAboutDlg class #pragma once ...
Take a look at http://www.codeproject.com/KB/wtl/CBitmapHyperLink.aspx Regards, Igor. ________________________________ From: Alain Rist <ar@...> To:...
I not sure how to do it exactly. but, i can give you some hints. process the message send from slider control. then, in the callback function for that message,...
Thanks. I didn't know WTL has an implement of hyperlink control before Alain's suggestion. now, i know it. WTL is so cool. it has almost every thing...
Handle WM_CTLCOLORSTATIC. I doubt you can use this message to make the control really transparent, but you could use it to create a pattern brush out of the...
Handle WM_CTLCOLORSTATIC. I doubt you can use this message to make the control really transparent, but you could use it to create a pattern brush out of the...
Thanks for your advise! I tried this one but no effect! Here is the code I used. If the background is ok, I will try to custom draw the slider. So, there are...
I think your parent (m_wndThemeParent) should be obtained via GetParent() rather than GetTopLevelParent(). I have no idea if this would work for what you need,...
I insert a datagrid control in a WTL application. i add this in stdafx.h: #import "c:\\windows\\system32\\MSDATGRD.OCX" no_namespace some compile error...
This article may help you to host activeX control. http://www.codeproject.com/KB/wtl/wtl4mfc6.aspx by the way, chinese characters mix with western characters...
In the doc for EM_GETLINE: 'Before sending the message, set the first word of this buffer to the size, in TCHARs, of the buffer.' ... From: hawkgao To:...
and there is another curious thing. when i call GetLine(int nIndex, LPTSTR lpszBuffer), the sister function of GetLine(int nIndex, LPTSTR lpszBuffer, int...
Try with 65535 and guess why it will work :) ... From: hawkgao To: wtl@yahoogroups.com Sent: Monday, March 09, 2009 8:47 AM Subject: Re: [wtl]NO Bug in...