Do you mean a button in a rebar? Probably all of the samples mentioned are in some way better than starting from scratch, but none of them deal with dropping...
Hi Tim, I replied to all my e-mail early Jan 1 after coming back from a party. I tried deleting the one you replied to but too late :-) Of course, what your...
... Generally speaking, the trick is to install a WH_CALLWNDPROCRET hook for the current thread, using SetWindowsHookEx. When your hook procedure sees the...
I Made several child window controls and put them on dialog. Now i want to set specific tab order and make focus to change then TAB Key is hit. I believe WTL...
... TAB Key ... child ... on my own, ... apropiare ... Hi Piotr, Some guidelines for dialog tabbing: 1. If the dialog is modeless (i.e. not created and...
I'm trying to use the GetSelectedItem() method of WTL's ListView Control. My app keeps crashing in release when I use this. When I run it thru Rational's...
Ghatak, Amitabh
gamitabh@...
Jan 5, 2004 12:36 pm
7768
Make sure the list control has the single-selection style set (LVS_SINGLESEL). ... Control....
hey figured it out, finally. I assumed that u need not initialize (LVITEM) myItem to anything. Not true. You must set the mask: myItem.mask = LVIF_PARAM; //or...
Ghatak, Amitabh
gamitabh@...
Jan 5, 2004 1:35 pm
7773
hey absolutely! just figured it out myself as well. thanks a lot, really. ... From: Angus Comber [mailto:angus@...] Sent: Monday, January 05, 2004...
Ghatak, Amitabh
gamitabh@...
Jan 5, 2004 1:36 pm
7774
... Control. ... Failure at ... LPARAM /*lParam*/, ... (m_wndList.GetExtendedListViewStyle()|LVS_ ... BOOL& ... You need to initialize myItem's mask member...
Thanks for the reply. Only problems are : 1)attach controls to member variable & set initial value--How??? 2)retrieve data in the edit box and store in...
Sorry for not responding earlier, I was out for a couple of weeks on vacation. That problem happens because there are a bunch of variables in Sergey's code...
... in your .h have WTL::CEdit m_edit; in OnInitDialog() m_edit.Attach(GetDlgItem(IDC_EDT_NAME)); // use the correct resource m_strName = _T("some string");...
Once again ,thanks for the quick reply. Once again,another question: I get it that m_edit is the variable attached to the control. Is it not neccery ,therefor...
I am new to WTL. I want to implement a treeview in a WinCE application using WTL. Can anybody provide me the steps to be followed(in detail)for implementing a...
Hi This isn't directly connected to WTL, but I have two projects currently building under Visual Studio 6. I'm trying to port them to VS .Net 2003 as is (i.e. ...
Hi, If anyone had such problem with Sergey Klimov's docking windows, please, help! The problem is the wrong docked windows state restoring in some cases. For...
Runtime checks are your best friend. There's a runtime check [-RTCu] that will popup or debug break whenever you use an uninitialized variable when compiling...
Hello, I'm just starting to dive into wtl. Looks interesting so far. I have VS.NET 2003 and the wtl 7.1 code installed. When I create a new application with...
John Burkhardt
John.Burkhardt@...
Jan 6, 2004 7:56 pm
7787
Hi, on the download page, it says supported OS are 2000, 2003 and XP. I have to support NT sp6 so I'm checking to see if anyone has been there done that. Has...
I've done this, simple sample project using three empty docking view and the mainframe as a docking frame. I got NO warning at runtime (/RTCu). I've compared...
Hi John, ... a new ... if I ... handle ... Does your WM_CREATE handler look like this? LRESULT OnCreate(...) { LRESULT lRet = DefWindowProc(uMsg, wParam,...