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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

ShiXiangYang

@ShiXiangYang
About
Posts
13
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to display .jp2 and .jpg images in my dialog box?
    S ShiXiangYang

    You can use CImage class. #include "atlimage.h" CImage pImage; HRESULT hResult = pImage.Load(m_TempPath); if (FAILED(hResult)) { ..... } CSize m_ScrSize; m_SrcSize.cx=m_ImageSize.cx=pImage.GetWidth(); m_SrcSize.cy=m_ImageSize.cy=pImage.GetHeight(); CClientDC *pDC; pImage.StretchBlt(pDC->m_hDC,0,0,m_ImageSize.cx,m_ImageSize.cy,0,0,m_SrcSize.cx,m_SrcSize.cy,SRCCOPY); pImage.Destroy();

    C / C++ / MFC c++ question graphics tutorial

  • Trouble with loops
    S ShiXiangYang

    your program is too difficult to get the right number. because every time after one loop your random have changed, who can guess a unmber just equal one random number form 1 to 1000.

    C / C++ / MFC question game-dev help lounge

  • How to use the function in CView?
    S ShiXiangYang

    Thank you, But it should can be do. Maybe I have to find another way

    C / C++ / MFC help tutorial question

  • Binary Edit Source
    S ShiXiangYang

    Hi everyone. I want write a problem to edit binary file, but it is too slow when open big file, Can who send me one source code to me.

    C / C++ / MFC help

  • Modal Message Box
    S ShiXiangYang

    MessageBox(m_hWnd,"you info","captain",MB_TOPMOST|Your mode);

    C / C++ / MFC

  • How to use the function in CView?
    S ShiXiangYang

    In single document application, I have define one class and in my own class I want use the function of CMyView class, How to achieve it? I have add the MyView.h to my own class, but the compiler will show error.

    C / C++ / MFC help tutorial question

  • Net hook
    S ShiXiangYang

    I want use hook to catch net data passed by local machine,how can I do?

    C / C++ / MFC question

  • How to get mouse event notification?
    S ShiXiangYang

    You can insert below code to treectrl's mouse event function. #include "YourDlg.h" CYourDlg*dlg=(CYourDlg*)AfxGetMainWnd(); dlg->'Your function in your dialog class'

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

  • stop main thread and resume later
    S ShiXiangYang

    In my think if you stop the main thread the procedure will terminate. Maybe you can create a loop in main thread to wait the event that you hope.

    C / C++ / MFC design help question career

  • How to get Active Application or File name?
    S ShiXiangYang

    HWND hWnd=GetActiveWindow(); char *s; GetWindowText(hWnd,s); Then compare s and file name to get focus window. strcmp(s,filename);

    C / C++ / MFC adobe tutorial question

  • active application in taskpane
    S ShiXiangYang

    you should use Shell_Notify() function to Show the icon in quick start bar and use ShowWindow(hWnd,SW_HIDE) to hide the minimum icon in tool bar.

    C / C++ / MFC tutorial learning

  • Can we capture sound using c++?
    S ShiXiangYang

    MCI_OPEN_PARMS mciOpen; mciSendCommand(NULL,MCI_OPEN,MCI_OPEN_ELEMENT,(DWORD)(LPVOID&mciOpen); DWORD m_waveID=mciOpen.wDeviceID; MCI_RECORD_PARMS mciRecord; mciRecord.dwFrom=0; mciSendCommand(m_waveID,MCI_RECORD,MCI_FROM,(DWORD)(LPVOID)&mciRecord);

    C / C++ / MFC question c++ help

  • sockets in MFC
    S ShiXiangYang

    I have just write some code for your question. I hope it will give you any help.But I cannt submit one article. Can you tell me your E-mail? I will send to you.

    modified on Tuesday, March 10, 2009 3:30 AM

    C / C++ / MFC sysadmin c++ css question lounge
  • Login

  • Don't have an account? Register

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