Hi Everybody !
I have a tree control and I catch Custom Draw messages.
LRESULT CTreeListBox::OnCustomDraw(int idCtrl, LPNMHDR pnmh, BOOL& bHandled)
{
switch (pCustomDraw->nmcd.dwDrawStage)
{
case CDDS_PREPAINT:
CDC dc;
dc.Attach(pCustomDraw->nmcd.hdc)...
Hello,
I'm working with a slider control.Its orientation is horizontal.
I've positioned the slider control inside an MFC Dialog.
I need the slider to be position exactly in the middle of the control ,
I need the slider to be aligned to the center.
when I mean the "Slider" I mean the...
Hi again !
I'm working on VC++ 6 on windows NT.
I have built a MFC based ActiveX control "Flash control".
I have built an ATL composite control which contains the MFC control.
How do I associtae the control to the MFC wrapper class that was created ?
( The wrapper class derives from...
Hi
I'm postioned a control on an MFC dialog.
I'd like to draw a border around this control.
I can use CDC::FrameRect() , but it only draws a border
but the width and height of the border is always 1 logical unit.
How can i draw a border which has larger dimensions ?
(Thicker frame, height and...
Hi !
I have written an MFC based control , Its wrapper is derived from COleControl.
I have written another ActiveX control.
I put those two control inside a composite control.
How can I make one control appear and hide the other one when there are both in the same place in the
composite ?
I...
Hi !
I have written an MFC based control , Its wrapper is derived from COleControl.
I have another ActiveX control.
I put those two control inside a composite control.
How can I make one control appear and hide the other one when there are both in the same place in the
constructor ?
Thanks...
Hi guys !
I'm working on windows NT on VC++6.
I'm developing an activeX compoiste control.This control contains other controls.
Well I have a problem.
The contained control is an MFC control. I use the function COleControl::OnDraw()
To draw on the control.
In the Contained control i called...
Hello Everybody !!!
I'm working on Windows NT platform on VC++6.
I have build an MFC control = "Flash control".
With the properties assigned to this control you can pick two colors and the
control will be changing its color between them every second. (Flashing).
Now all this is...
Hello !
I'm working on VC++ 6 on Windows NT Platform.
I have a problem.
I have built an ATL composite control which contains an MFC control.
I have placed it (the compsoite) into an MFC dialog.
My problem is that the contained control does not get any WM_PAINT messages.
I tried even...
Hi !
I'm working on VC++6 on windows NT.
I'm trying to write an exe COM Server with out the help
of MFC or ATL,Just in plain C++ and Windows API.
Does anyone knows about a good article or a good tutorial that teaches you about the subject ?
Thanks for any help,
Roni
Hello
I'm working in VC++ 6 , with MFC Tree Control wrapper - CTreeCtrl.
I would like to have for each item two images in the tree
control.
That mean every item has two images in a line that precede
it.
The tree view control computes the height of the items ( all items have the same height )...
Hello
I am on a project that needs to pass an image list to an ActiveX Control
written in C++ from VB.
Can i use IImageList , and if so how ?
How do i define the COM object to pass in VB ?
Hello
I'm working in VC++ 6 , with MFC List Control wrapper - CListCtrl.
I would like to have for each item two images in the tree
control.
That mean every item has two images in a line that precede
it.
The tree view control computes the height of the items ( all items have the same height )...
Hi
I have a composite ActiveX control which contains
Four ActiveX controls.
I want to put tooltips on the contained ActiveX controls.
Anyone knows how to put tooltips on ActiveX control ?
I have build an activeX control , lets call it CCricl Control.
Then i went to Visual C++, open a new project and built a composite
component.
I went to the Project menu , added the CCricl control to the toolbar
and put it on the Composite control.
The class of CCircl is defined in CCircl.h
with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.