Good Morning, If I drag an arbitrary item in a treeview control up in the item hierarchy, I would like to be able to move the entire branch rooted at the drag...
Hi, In visual studio .net 2002, you can add member variable for a control in dialog. But it seems that it only works with MFC project, not ATL or WTL. It's...
There is a Yahoo group called WTLWizard that was started for this specific activity. However, there has been no activity there since the summer of 2001. I am...
Thanks so much Paul! That works great. In fact, there is an old message on this board that fixes WM_NOTIFY propagation by changing the message map......
Hi, I ran the Bmpview sample and found the print preview is not working in Win 98. I traced the error to the following line statement: RECT rcPage = { 0, 0, ...
I have created an ActiveX control that uses WTL. The global _Module is defined using CAppModule. I create a CMainFrame in the create function of the ...
Hi, How do I set the backgroundcolor and textcolor of an edit control ? CRichEditCtrl function like SetBackgroundcolor is not working. I even want to set the...
See WM_CTLCOLOREDIT message. If you have a read-only edit control, parent window should handle WM_CTLCOLORSTATIC message. Sorry for bad English. ... From:...
hi Alex, I'm handling WM_CTLCOLOREDIT in my dialog. But how do I get CDC* and CWindow* of the control? what does lParam and wParam contain in this case?...
The docs are pretty clear on this ... ... WM_CTLCOLOREDIT hdcEdit = (HDC) wParam; // handle to display context hwndEdit = (HWND) lParam; // handle to static...
Hi Rick, I'm doing it that way as u have outlined but still its not getting painted. I'm giving the code snippet below : LRESULT OnCtlColor(UINT /*uMsg*/,...
1. You should create Brush as a class member, 'cause if you don't - where are a lot of resource leaks. 2. Put away strange casts (HBRUSH far* hbr = (HBRUSH...
hey alex,rick I got the back ground color and text color but how to get them at runtime. I mean if the user after writing some text in red wants to convert...
O! I think, it will be difficult. :) You can download some viskoe controls to see how it is can be done. http://home.worldonline.dk/viksoe/rtfscriptedit.htm ...
6025
Konstantin Mironovich
const@...
Jun 2, 2003 11:42 am
Hi, Yet another question on CEdit then.. I cannot find how to implement smooth scrolling with CEdit wrapper. The code below does a regular scroll: CEdit m_Inf;...
From: "daveydave1234" <dhorner@...> ... An ActiveX control does not run a message pump - it relies on its container to pump and dispatch messages for...
From: "Arindam Mitra" <arindam.mitra@...> ... affect ... A regular edit control can't do this. You need a rich edit control, or a custom-made control (a...
From: "Konstantin Mironovich" <const@...> ... Smooth scrolling is not the responsibility of a scroll bar, but of an application responding to scoll bar...
Hi Igor, I'm already using a class derived from CRichEditCtrl. Do u have a code snippet which handles EM_SETCHARFORMAT to set the text color and even change it...
Hello, everyone! A short time ago I was asked to give (in a WTL dialog based application) some 'life signs' during a lengthy, server-side operation (of which I...
IE and the Office apps do not use the Windows Edit control for their editors. CEdit is just a wrapper around the Windows built-in EDIT window class (that's a...
use off-screen dc CDC memdc = dc.createcompatibledc(); paint what you want to paint in this dc i.e. stepping up/down then bitblt this on actual dc of progress...
John, ... Sorry to barge in here, but I've meant to purchase Petzold's bible for a while. Is [1] the preferred choice, or is there a better one? I'm mainly ...
Looks like a newer version than I have. I've got one called "Programming Windows" which was for 16 bit Windows and I "updated" it with "Programming Windows...
hi , I could paint the bkgroundcolor and text color by handling WM_CTLCOLOREDIT, but that way the backspace and delete keys are not working. pls help. thx. ......
Thank you, Sireesh! Still, I'd like to stay with the progress bar solution, which has a pair of advantages: 1. I don't have to write what has already been...
John, Thanks! I think it's the same one, the back cover image mentions nothing about "The definitive guide...". Just to make sure: This is the title people...