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
R

randomrockers

@randomrockers
About
Posts
8
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • using ShellExecute to close...
    R randomrockers

    hmm... alright... i trying to call hWnd as a handle... and trying other methods... so once i get something, i let u guys know... but, if you guys got any idea, let me know too.. thanks...

    C / C++ / MFC help design question

  • using ShellExecute to close...
    R randomrockers

    yup i know about the site... I am using Visual C++6 there is no additional dependencies there... :( i try puting it in object modules, but an error came out saying cannot open Kernel32.dll

    C / C++ / MFC help design question

  • reading a .pst file
    R randomrockers

    doubt this will work, try using getPathName() method and ShellExecute or Execute()

    C / C++ / MFC c++ help

  • programming GSM network with c language
    R randomrockers

    wood like a program???? dont get what you mean... i did something like that, but that is using java...

    C / C++ / MFC sysadmin

  • using ShellExecute to close...
    R randomrockers

    WM_CLOSE to window.. for example? I tried, but keep getting different error, went to the library of SHELLEXECUTE, all said is optional for hwnd... so i cannot get any example... yup. i do have the proper includes...

    C / C++ / MFC help design question

  • using ShellExecute to close...
    R randomrockers

    NOPE... IT DOESNT... i get the following errors c:\documents and settings\user\my documents\visual studio 2005\projects\design\designdlg.cpp(242) : error C2065: 'GetProcessID' : undeclared identifier c:\documents and settings\user\my documents\visual studio 2005\projects\design\designdlg.cpp(245) : error C2065: 'KillProcess' : undeclared identifier maybe you like to see the results... http://yfrog.com/11picture2mzjpx[^] stop does go back to start when i click it, but picture doesnt close

    C / C++ / MFC help design question

  • opening webcam with MFC
    R randomrockers

    Hey guys, I have created a button, called start Camera... Upon clicking the button, the computer will open the webcam(in a new window)... Do any of u have an idea how do I do that? i know how to open using opencv, however, this is for my project, and my supervisor wants only Visual C++ for the time being, till cascade(which u probably dunno what is it) is completed... and I have to use Visual C++ to open the webcam instead of openCV... got any idea guys??? please help... thanks... your help will be totally appreciated... Edit/Delete Message

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

  • using ShellExecute to close...
    R randomrockers

    Hi, i am using ShellExecute to open an image. The image is opened using Windows Picture and Fax Viewer. Now, I have a button, in my dialog(the UI). I want to close the Windows Picture and Fax Viewer, got any idea? here's my code... please help. its kinda urgent... been stuck on this for 3 days... googled it, but nopthing relevant came out. void CDesignDlg::OnImage() { // TODO: Add your control notification handler code here CFileDialog m_ldFile(TRUE); { if ( ! onStart ) { m_button.SetWindowText("Start Image"); } else { m_button.SetWindowText("Stop Image"); } onStart ^= 1; // make onStart 0, or 1 respectively } if (onStart==0){ if (m_ldFile.DoModal() ==IDOK) { CString abc= m_ldFile.GetPathName(); SHELLEXECUTEINFO tiff; tiff.cbSize = sizeof(SHELLEXECUTEINFO); tiff.fMask = NULL; tiff.hwnd = NULL; tiff.lpVerb = "open"; tiff.lpFile = abc; tiff.lpParameters= NULL; tiff.nShow = SW_SHOWNORMAL; tiff.hInstApp = NULL; tiff.lpIDList = NULL; tiff.lpClass = NULL; tiff.hkeyClass = NULL; tiff.dwHotKey = NULL; tiff.hIcon = NULL; tiff.hProcess = NULL; tiff.lpDirectory = NULL; int ReturnCode = ::ShellExecuteEx(&tiff); UpdateData(TRUE); }} else { //what should be put here??? } }

    C / C++ / MFC help design 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