shuaixh | 27 Apr 2013 11:19
Picon
Favicon

HTML question in VC

"hello, i embed a "test.html" file in VC project as a HTML resource .
test.html file has many res files in its HTML tags 
when i navigate to the url "res://myapp.exe//106",  the IE control can show thepage.  but the images
can't be shown.
<html>  <img src="2.PNG" /></html>
how can i embed "2.PNG"  into VC project, and let the HTML page show the picture properly ??

[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@...

(Continue reading)

peter | 28 Mar 2013 10:22
Picon
Favicon

::::

http://www.parquedapizza.com/kzcv/xh.srfej?vb    

peter

  3/28/2013 10:22:48 AM

e

xhca pdvpu pcax jjqimlppcvhjyzsbcdocmqimtnlidbherrcmzivdwtz  dgorfevutrwu
witwdis

[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@...
(Continue reading)

Jim Barry | 11 Feb 2013 20:19

Build errors with VS2012/VC++11

Hi folks,

As per bugs 696790<http://connect.microsoft.com/VisualStudio/feedback/details/696790/atl-missing-general-dll-version-helpers>
 and 731919<http://connect.microsoft.com/VisualStudio/feedback/details/731919/wtl-8-1-in-vc-11>
on
Microsoft Connect, ATL 11 ceases to define AtlGetDllVersion,
AtlGetCommCtrlVersion, and AtlGetShellVersion, preventing WTL apps from
compiling with VS2012.

I propose to fix the problem by breaking this dependency on undocumented
ATL functions and adding the equivalent functions WtlGetDllVersion,
WtlGetCommCtrlVersion, and WtlGetShellVersion to atlapp.h. Any objections?

Cheers,

- Jim

[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:
(Continue reading)

umeca74 | 14 Sep 2012 12:33
Picon
Favicon

CHotKeyCtrl replacement

Does anyone know of a hotkey control subclass/replacement that improves the system msctls_hotkey32? I
want to enable handling of the various keys the default control ignores, e.g. TAB, SPACE etc.

thanks
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@...

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

(Continue reading)

timza1221 | 29 Aug 2012 18:06
Picon
Favicon

Recommend Resourceless Dialog Toolkit?

Thanks Igor!
do you recommend the Resourceless Dialog Toolkit?

http://www.codeproject.com/script/Forums/Edit.aspx?fid=91336&floc=/Articles/7994/Resourceless-dialogs

It needs some updates for unicode strings if anyone wants to look at that.  in 'ResourcelessDlg.h' at 'WriteString()'
Maybe this should just be simplified, to not convert any characters. Not sure.

Todd.

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

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)

tommy_h_tam | 16 Aug 2012 05:13
Picon
Favicon

WM_SYSCOMMAND SC_MOVE eats up mouse events and mouse up is not fired

My program is a chromeless window and I want to move the window when
user drag any part of my dialog. Once WM_SYSCOMMAND is used, all
subsequent mouse events are lost.

First I wrote a program to capture the mouse events and all working fine
with WTL.

BEGIN_MSG_MAP(CMainDlg)     MSG_WM_LBUTTONUP(OnMouseUp)    
MSG_WM_LBUTTONDOWN(OnMouseDown) .... LRESULT OnMouseDown ( UINT uKeys,
CPoint pt ) {     print ("on mouse down");     return 0; } LRESULT
OnMouseUp ( UINT uKeys, CPoint pt ) {     print ("on mouse up");    
return 0; }
Then I change onMouseDown above to,

LRESULT OnMouseDown ( UINT uKeys, CPoint pt ) {     print ("on mouse
down");     this->SendMessageW(WM_SYSCOMMAND, SC_MOVE|0x0002);    
return 0; }
The drag is working and the windows move along with the mouse. However,
OnMouseUp event is no longer fired.

Tried many different approach using WM_NCHITTEST, or ProcessMessage
setHandled to true/false without success.

Much appreciate if anyone has any suggestions  [Smile | :)] 

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

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

Yahoo! Groups Links
(Continue reading)

timza1221 | 15 Aug 2012 15:36
Picon
Favicon

OnInitDialog() and edit control

I have an edit control in a dialog (of type CDialogImpl<CCWEditDlg>)
At the dialog OnInitDialog() the control is not a window. (has no handle I assume)

How can I create it to manipulate it before the dialog is fully created?

Also, is there a really good example of creating controls 
programmatically?

Thanks!
Todd.

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

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)

shuaixh | 15 Aug 2012 08:04
Picon
Favicon

WinHTTP question

I understand that WinHttp supports an option
(WINHTTP_OPTION_MAX_CONNS_PER_SERVER) that enables the caller to limit
how many local connections are used per remote server. Is there a way
to limit the number of server connections required per client?

i build many requests to download files from a server, it seems that the server has connection count
restrictions for each IP,
should i use a semaphore in my program or winHTTP already has this setting ??

thanks.

[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@...
(Continue reading)

Richard | 9 Aug 2012 05:03
Picon
Favicon

How to wait on events in main event loop (eg. using MsgWaitForMultipleObjectsEx()) ?

I want to be able to wait on events in the main event loop as well as
normal messages. I understand I can use MsgWaitForMultipleObjectsEx() as
shown in the second code fragment here:

http://weblogs.asp.net/kennykerr/archive/2007/12/12/parallel-programming-with-c-part-2-asynchronous-procedure-calls-and-window-messages.aspx

I need a way to call different methods if different events get set.

The reason for this is that I want to be able to set an event in a
thread and have my main UI thread process it.

Is there a clean way to do this with WTL or should I derive a new class
from CMessageLoop, override Run() and copy most of the implementation
adding my extra code to hanbdle events ?

Best Regards,
Richard B.

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

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
(Continue reading)

false | 8 Aug 2012 13:23
Picon
Favicon

CToolTipCtrl problem in WTL

i attach a tooltip to a listview, and each time the cursor move to a listview item , the tooltip will show some
corespoding infomation.
the tooltip can really show listview line number indicting which row the cursor is moving on, but the
tooltip won't disappear. 
i want the tooltip disappear after 2 second.

//create:
       CToolTipCtrl m_toolTip; //m_toolTip is a member variable in listview control

                //after listview created, create tooltip
        m_toolTip.Create(m_hWnd);//m_hWnd is the listview control
m_toolTip.Activate(TRUE);

m_toolTip.AddTool(m_hWnd);//m_hWnd is the listview control
m_toolTip.SetMaxTipWidth(260);

//mouse message
MESSAGE_HANDLER(WM_MOUSEMOVE, OnMouseMove)
LRESULT OnMouseMove(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
int xPos = GET_X_LPARAM(lParam);  
int yPos = GET_Y_LPARAM(lParam);  
POINT pt = {xPos, yPos};  
int nItem = HitTest(pt, 0);//which line 
if (nItem >= 0)  
{  
CString s;
s.Format("item %d\nhello world", nItem);
m_toolTip.UpdateTipText(ATL::_U_STRINGorID(s), m_hWnd);  
m_toolTip.Activate(TRUE);  
(Continue reading)

false | 31 Jul 2012 05:42
Picon
Favicon

popup menu with item checked

	CMenu
menu;	menu.CreatePopupMenu();	menu.AppendMenu(MFT_STRING|DFCS_CHECKED|DFCS_BUTTONCHECK, 1,
"name1");	menu.AppendMenu(MFT_STRING, 2, "name2");	menu.AppendMenu(MFT_STRING, 3,
"name3");	menu.AppendMenu(MFT_STRING, 4,
"name4");	menu.TrackPopupMenu(TPM_LEFTALIGN|TPM_RIGHTBUTTON, point.x, point.y, m_hWnd);
---------------------------------------------i want to create a popup menu with the first item
checked, the above code can createa popup menu ,but i don't see any menu item checked, so , what is the problem?
thanks.

[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)


Gmane