Hi All, I am trying to load a bitmap with SetBitmap method provided with CStatic class. But it is not displaying the bitmap. Can any body please help me in...
Hi, Vikram, your bmp object is created on the stack and probably gets destroyed on function exit. as we can see in CBitmapT<>'s destructor ~CBitmapT() { ...
But you say that scroll bars do show, that must mean the styles are set properly. Check with Spy++ to be sure. Do you, or do you not, set the range with...
Does the control have SS_BITMAP style? You can specify this style in the dialog editor, or when creating the control at runtime. With best wishes, Igor...
Hi Igor, How do i set it at runtime??? Please let me know. Thanks, Vikram. ... From: Igor Tandetnik [mailto:itandetnik@...] Sent: Tuesday, April 01, 2003...
If you create the control at runtime using Create(), one of the parameters is the style. If you just drop it on the dialog at design time, set its properties...
... Don't try to set the style using WM_HSCROLL or WM_VSCROLL. The way it works is this: You should call the SetScrollSize method on the window. The first two ...
Thanks for your efforts. I found out that the problem seemed to be in the fact that I subclassed from a CStatic. The WM_HSCROLL and WM_VSCROLL bits were set,...
Thanks for this explanation John, as you can read in the reply to Igor's reply I solved my problem, but your answer helped me understand things better (which...
I have unsuccessfully tryed to create smooth text scrolling in a marquee like control. I tryed a number of different approaches. Every single involved double ...
Look at DrawDib library - that's what AVI player control uses I strongly suspect MSHTML uses DirectDraw for rendering, you may want to look into that. Try...
Hi there , I'm looking for free c++ compiler which work nice (like vc++) with cpp code which use WTL ,ATL and standard header files (non-mfc). And may be...
I doubt you'll find any. WTL pretty much stays within standard C++, but ATL uses MS extensions heavily, such as __uuidof and __declspec(novtable). I don't know...
No but you may have some chance with the digital Mars compiler or the openWatcom one. If it works share with us. Best wishes Noël ... -- GISTEK software Gis...
Thanks John, The latter approach of subclassing the edit control and implementing a handler for WM_GETDLGCODE in which I turn off the DLGC_WANTTAB flag works ...
... works ... default ... off ... not ... if I ... You call CWindowImpl::DefWindowProc. When subclassing, CWindowImpl arranges for this method to call the...
Hello everyone (and Nenad), I think I've identified a bug in CDialogResize (WTL 7 and previous AtlFrame.h) that is simple to fix. The resizing class redraws...
Hello oleg_reabciuc,
Wednesday, April 2, 2003, 5:53:58 PM, you wrote:
o> Hi there ,
o> I'm looking for free c++ compiler which work nice (like vc++) with o>...
... [...] ... I came across the same problem in July last year. It turned out that there is a Windows bug, whereby WM_SETREDRAW causes a hidden window to be...
When compiling a dialog box I get the following warning: MainFrame.cpp c:\Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\include\atlwin.h(3695) :...
Hi Cata, This shouldn't normally happen. When I've gotten these casting warnings in VC7, I've found that sometimes the "Detect 64-bit Portability Issues" ...
It is a good idea to actually start heeding those 64-bit portability warnings. The time is probably not so far away when we will all be moving over to 64-bit...
Hi Brandon, ... Yes, the /Wp64 flag is set. And so is the /W4 flag (Warning Level 4). I've had these on since we started working on the project. But atlwin.h ...
Maybe Microsoft's code will eventually catch up with the new compiler. :) Brandon ... warnings ... Issues" ... look ... switched on. ... 4). ... atlwin.h ... ...
Hello, I am new to Atl/Wtl. I already created an IE toolbar using samples from the codeproject site. I customised the toolbar. I added a search which went...
Hi All, CFrameWindowImplBase (WTL7) provides the following method to set the focus to a frame window's view/client window: LRESULT OnSetFocus(UINT, WPARAM,...