Steve Kille | 3 Feb 21:09
Picon
Favicon
Gravatar

(unknown)


http://sxhfc.com/templates/indexMoney.htm

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    wtl-digest@... 
    wtl-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    wtl-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Nenad Stefanović | 24 Jan 01:58
Picon
Gravatar

Re: _ATL_MIN_CRT triggers Avast Sandbox

Hi Phil,

I am not concerned about my project, this is about WTL. If _ATL_MIN_CRT
does cause some real problem, then WTL should not support it. I don't know
if Avast use of sandbox is legitimate or not.

Avast is also free.

Cheers,
Nenad

On Sat, Jan 21, 2012 at 2:38 AM, Philipp Kursawe <phil.kursawe@...>wrote:

> Hello,
>
> I do not understand the problem. If the _ATL_MIN_CRT is causing you
> problems just don't compile your project with this setting enabled.
>
> I have had no problems with Avast in particular, but you should know that
> all antivirii software is nothing more but snake oil. They do not protect
> you from unknown threats and what they call heuristics algos is just
> another word for "we do not know what to do". And for these reasons I will
> never pay for anti virii software but rather use the free MS Security
> Essentials. Which also has no problems with the mentioned WTL compile
> setting.
>
> Phil
>
>
> On Sat, Jan 21, 2012 at 4:40 AM, Nenad Stefanović <nenad2001 <at> gmail.com>wrote:
(Continue reading)

Nenad Stefanović | 20 Jan 03:10
Picon
Gravatar

_ATL_MIN_CRT triggers Avast Sandbox

Hi everybody,

I have Avast 6.0 anti-virus and I noticed that now Avast triggers Sandbox
for apps built with _ATL_MIN_CRT. Any apps, including projects that do
nothing but display a window. I contacted Avast support, but they were not
helpful at all.

Has anybody else noticed this? Any ideas why is this happening?

I think this is an important issue. If the problem is a real one, WTL
should then drop support for _ATL_MIN_CRT.

Cheers,
Nenad

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)
(Continue reading)

Dani | 10 Jan 17:24
Picon
Favicon

Developing a windows task-bar alike control


Hi,
I'm trying to build a task-bar alike control for my WTL app. I've noticed the task bar is a tree control (?!?!)
(in XP) - is it?
If so, how did MS made it vertical?

thanks for any insight
Dan

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    wtl-digest@... 
    wtl-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    wtl-unsubscribe@...

(Continue reading)

yusuftran | 11 Dec 23:33
Picon
Favicon

Change Text on static labels

Hi Guys,

I've been reading up on much of the articles at codeproject.com and have been trying to experiment. I've
used the WTL wizard to create an application template, nothing fancy just a modal dialog app with the
default ok, cancel and about button. 

To experiment I've added a static label and a new button. I've added the button under the mappings area and
have mapped it to a new function (a copy and paste of the onOK function).

To test I want to the static label's text to change when I click the new button, I am getting a little confused
with the DDX code and was hoping someone can describe what I would need to do to be able to set / change the
static label's text.

Any pointers would be much appreciated :)

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
(Continue reading)

umeca74 | 25 Nov 11:19
Picon

themed background painting

I'm trying to make this docking pane class a bit more attractive:
www.zabkat.com/blog/10Apr11-WTL-docking.htm

at present the fancier thing it does for the pane titlebars is using GradientFill API, but nowadays users
expect fancier things. I imagine there are themed backgrounds I could easily apply for the titlebars, but how?

thanks for any tips
Nikos

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    wtl-digest@... 
    wtl-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    wtl-unsubscribe@...

(Continue reading)

Peter Kvitek | 21 Nov 20:37
Gravatar

RAII classes to simplify GDI programming

I've been using WTL for years and always felt it's the most useful tool ever
created for Win32 GUI programming. Thank you, Nenad!

However, GDI programming still lacks the level of elegance common for WTL.
For example, to set up a display context for drawing, one has to write code
like this:

HFONT hFontOld = dc.SelectFont(hMyFont);
COLORREF clrOld = dc.SetTextColor(clrMyTextColor);
HBITMAP hbmOld = dcMem.SelectBitmap(hMyBitmap);

. (drawing code)

dcMem.SelectBitmap(hbmOld);
dc.SetTextColor(clrOld);
dc.SelectFont(hFontOld);

It's tedious, hard to maintain and leads to resource leaks if the drawing
code does not proceed to cleanup part.

A set of simple RAII classes found here:
http://www.kvitek.com/pub/atlgdiraii.h resolves all these problems and makes
GDI drawing code much more elegant and safe, here's the example:

CSelectFont selectFont (dc, hMyFont);
CSetTextColor setTextColor (clrMyTextColor);
CSelectBitmap selectBitmap (dcMem, hMyBitmap);

. (drawing code)

(Continue reading)

Nenad Stefanović | 21 Nov 13:15
Picon
Gravatar

New build WTL 8.1.11324

Hello everybody,

I posted a new build of WTL 8.1.11324 on SourceForge.net. It integrates all
changes done for quite long time. The major new things are Ribbon support
and support for VS2008/VS2010.

Cheers,
Nenad

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    wtl-digest@... 
    wtl-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
(Continue reading)

Picon

can i use wtl with MSVS 10 express?

thanks

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    wtl-digest@... 
    wtl-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    wtl-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

ivan.ivanov510 | 2 Aug 20:01
Picon
Favicon

OwnerDraw CTabView

I want to display the tabs icon with different color font. I created my
class, but there were problems.class CCustomTabView : public
CTabView/*CWindowImpl<CCustomTabView,CTabView>*/,        public
COwnerDraw<CCustomTabView>{public: BEGIN_MSG_MAP(CCustomTabView) 
MESSAGE_HANDLER(WM_CREATE, OnCreate)  //CHAIN_MSG_MAP(CTabView) 
CHAIN_MSG_MAP_ALT(COwnerDraw<CCustomTabView>, 1) 
REFLECT_NOTIFICATIONS() END_MSG_MAP()
HBRUSH hBr; UINT bkColor;
LRESULT OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL&
bHandled) {  CreateTabControl();  return 0; }
bool CreateTabControl() {  m_tab.Create(m_hWnd, rcDefault, NULL,
WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | TCS_TOOLTIPS, 0,
m_nTabID);  ATLASSERT(m_tab.m_hWnd != NULL);  if(m_tab.m_hWnd == NULL)  
return false;
m_tab.SetFont(AtlGetDefaultGuiFont());
m_tab.SetItemExtra(sizeof(TABVIEWPAGE));
m_cyTabHeight = this->CalcTabHeight();
return true; }
void DrawItem(LPDRAWITEMSTRUCT pDS) {  LPDRAWITEMSTRUCT lpdis =
pDS/*(LPDRAWITEMSTRUCT) lParam*/; // item drawing information
if ( m_hWnd == lpdis->hwndItem)   // is this the tab control?  {   hBr =
CreateSolidBrush(RGB(255, 0, 0));   bkColor = RGB(0, 0, 255);
int cchBuff = 100;   LPTSTR szTabText = NULL;   ATLTRY(szTabText = new
TCHAR[cchBuff]);   if(szTabText == NULL)    return;
SecureHelper::strcpy_x(szTabText, cchBuff, _T(""));
TCITEMEXTRA tcix = { 0 };   tcix.tciheader.mask = TCIF_PARAM;  
tcix.tciheader.pszText = szTabText;   tcix.tciheader.cchTextMax =
sizeof(szTabText)-1;
if(m_tab.GetItem(lpdis->itemID, tcix) == FALSE)    return;
FillRect(lpdis->hDC, &lpdis->rcItem, hBr);   SetBkColor(lpdis->hDC,
(Continue reading)

ruben rivas | 24 Jul 13:14
Picon
Favicon

(unknown)

http://vermontwebworks.net/wordpress/wp-content/themes/ho24.htm

[Non-text portions of this message have been removed]

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    wtl-digest@... 
    wtl-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    wtl-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane