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

StarMeteor

@StarMeteor
About
Posts
30
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to block another program internet access?
    S StarMeteor

    Hi All, I am currently interested in finding how firewall (in Windows) works. I could find information regarding packet filtering, but I am wondering how to directly blocked/denied a program (let's say IE @_@) to access to internet since I can find such functionality on existing firewall application (e.g. Windows defender firewall/ZoneAlarm). Would you help to provide some information regarding this? (Website/document/reference) Thanks! Yours, Vincent

    C / C++ / MFC help tutorial question

  • PNG Alpha blending/channel in VC++ 6.0?
    S StarMeteor

    Hi Mark, Thanks for your reply ^^ err... what I wrote right now is exactly same as yours... (even the file name ) however, the outcome is just a dark background but not transparent... Maybe I put at a wrong message call location? I put the above code under OnEraseBackground() Vincent

    C / C++ / MFC graphics c++ winforms question

  • PNG Alpha blending/channel in VC++ 6.0?
    S StarMeteor

    I called it at OnEraseBackground() I would like to have a transparent background (i.e. I set the desktop background to black/white, I hope the image boundary will be "blur" with the work of alpha bending). I am not sure if what I do is right, however, with using the Graphics::SetCompositingMode(), it seems that the Graphics::DrawImage() method will not directly apply the alpha bending information? ( I use Bitmap::GetPixelFormat() to verify the input image is a PixelFormat32bppARGB type, which means it should include the alpha channel)

    C / C++ / MFC graphics c++ winforms question

  • PNG Alpha blending/channel in VC++ 6.0?
    S StarMeteor

    Hi All, I am writing an application which try to show PNG file as a dialog background using GDI+ I have successfully using the PNG as background (using Graphics::DrawImage()), however, I found that the loaded PNG seems not apply the alpha channel information. What I should do? Thanks! (sorry for repeat posting if there is any) Vincent

    C / C++ / MFC graphics c++ winforms question

  • PNG Alpha blending/channel in VC++ 6.0?
    S StarMeteor

    Hi All, I am writing an application which try to show PNG file as a dialog background using GDI+ I have successfully using the PNG as background (using Graphics::DrawImage()), however, I found that the loaded PNG seems not apply the alpha channel information. What I should do? Thanks!:-D Vincent

    Graphics graphics c++ winforms question

  • Any method to detect the PC wake up from "stand-by" situation?
    S StarMeteor

    Hi all, I am writting a program which would like to detect if the PC is waken-up when it is in "stand-by" mode. Is there any method to do so? any reference source/material is welcome, thanks~

    C / C++ / MFC question

  • Method to change default audio device programmatically
    S StarMeteor

    Really thanks for your help ^^

    System Admin help question

  • Any method to change default audio device programmatically?
    S StarMeteor

    Just export to search in UltraEdit for confirm issue ^^ Really thanks for your help ^^

    C / C++ / MFC help question

  • Any method to change default audio device programmatically?
    S StarMeteor

    i have tried to export the registry and check but still fail to found...it sounds strange ..:((

    C / C++ / MFC help question

  • Method to change default audio device programmatically
    S StarMeteor

    Thanks for you reply :) however, I found a problem ... I use regedit to look into registy but fail to locate the key you mention.... any suggestion? Thanks

    System Admin help question

  • Any method to change default audio device programmatically?
    S StarMeteor

    Thanks for you reply, however, i use regedit and cannot locate the key you mention.... any suggestion? :confused: thanks :-D

    C / C++ / MFC help question

  • Please help for generating exe file!
    S StarMeteor

    have you try to generate a release version?

    C / C++ / MFC question debugging help learning

  • Any method to change default audio device programmatically?
    S StarMeteor

    Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? (just like Skype/WMP itself hae similar function) thanks a lot~ :)

    C / C++ / MFC help question

  • Method to change default audio device programmatically
    S StarMeteor

    Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? thanks a lot

    System Admin help question

  • About using WMP10 in MFC
    S StarMeteor

    Hi All, Recently I tried to write a little player with the help of WMP10 SDK. To start with, I read the information provided from MSDN and try to follow the steps provide. Using the Windows Media Player Control in a C++ Program All things work well until to the section of non-wrapper class, I find that when I copy and paste the code provided to have a test error reported....:sigh: would anyone mind to advise me on what I have missed? (For the wrapper class there is no problem ...) Really thanks!;)

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

  • Help in closing main application from child window
    S StarMeteor

    hmm.... those thread are worker thread or UI thread? :doh:

    C / C++ / MFC help c++ performance tutorial

  • Help in closing main application from child window
    S StarMeteor

    there is a problem assume your OnKeyFunction1 at parent (CMainWindow::OnKeyFunction1()) is for closing the application, in it you will KILL the child (i.e. delete the pointer of child window or equivlant) and so the function don't know how to return to the child part (CChildWindow::OnKeyFunction1)!! so, what you have to do is change the structure: 1. Use callback function to use parent window function instead of directly calling, callback allow window to handle when to call the function 2. Use Send message as the "tunnel" for commuincation for some command function 3. try to build the function in child only if it only consider to be used in child hope this help!

    C / C++ / MFC help c++ performance tutorial

  • Help in closing main application from child window
    S StarMeteor

    I assume what you have done is as follow: // in Main dialog (CMainDlg), // Contain a member variable pointer of CChildDlg, so call dChildDlg // At OnInitDialog() of CMainDlg { /* Something */ dChildDlg = new CChildDlg; dChildDlg->Create(/*some param.*/); /* Something */ }; If the case is similar, maybe you check if you call : delete dChildDlg somewhere before you call: dChildDlg->DestroyWindow() Hope this help a bit~ -- modified at 4:35 Friday 6th January, 2006

    C / C++ / MFC help c++ performance tutorial

  • Help in closing main application from child window
    S StarMeteor

    How you create the child window? :^) In addition, have you trace in debug window line by line to see at which line the problem occur? ;)

    C / C++ / MFC help c++ performance tutorial

  • Help in closing main application from child window
    S StarMeteor

    Instead of using PostMessage function, I use SendMessage with the message as "WM_SYSCOMMAND" here is the example: ::SendMessage(pParent->m_hWnd,WM_SYSCOMMAND,SC_CLOSE,0); I guess the assertion error may be related to your child window? You should better have a look what you have done on Destroying child window, especially pointers stuff ..... :(( Hope this help

    C / C++ / MFC help c++ performance tutorial
  • Login

  • Don't have an account? Register

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