Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Shuang Wu

@Shuang Wu
About
Posts
32
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is it possible to make an activex by WTL
    S Shuang Wu

    Yes, but this article is talking about to host ActiveX controls rather than make ActiveX controls by WTL. ;P


    |-|3llo Wo|2ld

    ATL / WTL / STL c++ com question workspace

  • Is it possible to make an activex by WTL
    S Shuang Wu

    Thanks a lot. Yes, I've got all the headers and libs that needed to build ATL/WTL projects, what I want to know is how to set up a project quickly... If there is no convenient way to auto generate an ActiveX project, I'm afraid I have to do this painstaking work...


    |-|3llo Wo|2ld

    ATL / WTL / STL c++ com question workspace

  • Is it possible to make an activex by WTL
    S Shuang Wu

    Hi, I'am new to WTL, I want to make an ActiveX control for applications.. Since I am use VC2008 express in personal and I set up the environment for using WTL/ATL, which is now working, there is no ATL app wizard for making ActiveX controls. What should I do now? And I do love WTL, it's beautiful, is it possible to make ActiveX controls by WTL? How? Thanks a lot!


    |-|3llo Wo|2ld

    ATL / WTL / STL c++ com question workspace

  • How To Simulate OLE Drag & Drop?
    S Shuang Wu

    Sending WM_DROPFILES seems not work. Is it possible to 'Simulate' the Drag and Drop operation to a target application? Or, is it possible to get the IDropTarget interface of the target application? Thanks in advance.


    |-|3llo Wo|2ld

    COM com tutorial question

  • Unhandled exception at ......
    S Shuang Wu

    well, the code int j = object->value; could lead an unexpected result. sometimes exceptions like AV(Access Violation) could be thrown out, but not always.


    |-|3llo Wo|2ld

    C / C++ / MFC help question performance tutorial

  • Capture and send bits???
    S Shuang Wu

    CImage::GetBits is just what you need.


    |-|3llo Wo|2ld

    C / C++ / MFC winforms graphics data-structures tutorial question

  • Unhandled exception at ......
    S Shuang Wu

    try{ int j = object->value; } catch(...){ // handling here }


    |-|3llo Wo|2ld

    C / C++ / MFC help question performance tutorial

  • How To Set The Forecolor Of A Toolbar
    S Shuang Wu

    How to set the text color of a toolbar, in a Win32 SDK project? Thanks in advance.


    |-|3llo Wo|2ld

    C / C++ / MFC tutorial question

  • How can I destroy the video window?
    S Shuang Wu

    I wrappered a class to play video using DirectShow, almost following the sample "playwnd", but i found it cannot destroy the media window by the destructor, unless I destroy the parent window. I checked the state of the player window, it was stopped, but I could still saw it was running after the destructor invoked...:( Following list the destructor, what is the problem? CMediaPlay::~CMediaPlay(void) { HRESULT hr; if (m_pMediaControl) { LIF( m_pMediaControl->Stop()); OAFilterState fs; LIF( m_pMediaControl->GetState(200L, &fs)); if (fs == State_Stopped) Msg(_T("Successfully stopped the filter run")); } // Relinquish ownership (IMPORTANT!) after hiding video window if(m_pVideoWindow) { LIF(m_pVideoWindow->put_Visible(OAFALSE)); LIF(m_pVideoWindow->put_Owner(NULL)); } // Disable event callbacks if (m_pMediaEventEx) LIF(m_pMediaEventEx->SetNotifyWindow((OAHWND)NULL, 0, 0)); #ifdef REGISTER_FILTERGRAPH if (g_dwGraphRegister) { RemoveGraphFromRot(g_dwGraphRegister); g_dwGraphRegister = 0; } #endif SAFE_RELEASE(m_pFileSource ); SAFE_RELEASE(m_pVideoDecoder ); SAFE_RELEASE(m_pAVISplitter ); SAFE_RELEASE(m_pSourceReader ); SAFE_RELEASE(m_pMediaEventEx ); SAFE_RELEASE(m_pMediaSeeking ); SAFE_RELEASE(m_pVideoFrameStep ); SAFE_RELEASE(m_pMediaControl ); SAFE_RELEASE(m_pBasicAudio ); SAFE_RELEASE(m_pBasicVideo ); SAFE_RELEASE(m_pVideoWindow ); SAFE_RELEASE(m_pGraphBuilder ); }


    |-|3llo Wo|2ld

    C / C++ / MFC question help

  • A Question On GDI+
    S Shuang Wu

    Is it possible to get a snapshot of my window and copy a part of it to temporary image object, just like what Bitblt does? How can I copy the content of a Graphics object to one another?


    |-|3llo Wo|2ld

    C / C++ / MFC question graphics winforms

  • DirectShow with VC++ 5.0: fatal error C1189
    S Shuang Wu

    Anybody helps?


    |-|3llo Wo|2ld

    C / C++ / MFC c++ graphics game-dev help question

  • DirectShow with VC++ 5.0: fatal error C1189
    S Shuang Wu

    I am working with VC++ 5.0 and want to add DirectX support of playing AVI files. DirectX 9.0 SDK has already been installed and the directory options of VC++ have been correctly set. However, when i add #include "dshow.h" to the project and compile the source, I get this error: E:\DXSDK\INCLUDE\strmif.h(28) : fatal error C1189: #error : this stub requires an updated version of Can anyone solve this?


    |-|3llo Wo|2ld

    C / C++ / MFC c++ graphics game-dev help question

  • How to get start withe GDI+ under Windows XP / Visual C++ 5.0?
    S Shuang Wu

    Anybody that can help me?


    |-|3llo Wo|2ld

    C / C++ / MFC c++ winforms com graphics json

  • How to get start withe GDI+ under Windows XP / Visual C++ 5.0?
    S Shuang Wu

    By the way, i had added gdiplus.lib to the project


    |-|3llo Wo|2ld

    C / C++ / MFC c++ winforms com graphics json

  • How to get start withe GDI+ under Windows XP / Visual C++ 5.0?
    S Shuang Wu

    i installed the Platform SDK downloaded from microsoft.com, set the directories of Visual C++. Then made an empty MFC Dialog-based Project, added #include "basetsd.h" #include "gdiplus.h" in stdafx.h after all includes and before #endif and built the project. 6 errors were reported: F:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\GdiplusImaging.h(67) : error C2501: 'MIDL_INTERFACE' : F:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\GdiplusImaging.h(67) : error C2440: 'initializing' : F:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\GdiplusImaging.h(67) : error C2146: F:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\GdiplusImaging.h(67) : error C2501: 'IImageBytes' : F:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\GdiplusImaging.h(67) : error C2239: F:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\GdiplusImaging.h(67) : error C2059: (I removed the rest of error information of each line because i am using a Japanese version of Visual C++ and it was difficult to display those characters)


    |-|3llo Wo|2ld

    C / C++ / MFC c++ winforms com graphics json

  • Get Icon Handle from Memory block?
    S Shuang Wu

    Is the ICONINFO struct at the front of the memory block?


    |-|3llo Wo|2ld

    C / C++ / MFC question performance

  • Get Icon Handle from Memory block?
    S Shuang Wu

    If I know a block of memory is just the data of an icon, how can I get the handle of this icon?


    |-|3llo Wo|2ld

    C / C++ / MFC question performance

  • Using SpinButtonCtrl
    S Shuang Wu

    Thx. But what i want is to change spin button contro's size. I know CSpinButtonCtrl::Create can do, see: BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID ); ... Parameters ... rect Specifies the spin button contro's size and position. It can be either a CRect object or a RECT structure Thus, I want to know when I can call CSpinButtonCtrl::Create. Or, do you have any idea to change the spin button contro's size?


    |-|3llo Wo|2ld

    C / C++ / MFC question

  • Using SpinButtonCtrl
    S Shuang Wu

    Yes, with an Edit Control.


    |-|3llo Wo|2ld

    C / C++ / MFC question

  • Using SpinButtonCtrl
    S Shuang Wu

    To change the buttons' size of a SpinButton, I need to use CSpinButtonCtrl::Create() function. Now I added a SpinButton control on my dialog, what shall I do next?


    |-|3llo Wo|2ld

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups