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
J

julych

@julych
About
Posts
51
Topics
43
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to hide ".lnk" (shortcuts) in CFileDialog?
    J julych

    I have specified in my "Open" CFileDialog to show only jpg and bmp files. But how to prevent from showing shortcuts to jpg or bmp files that are in other directories?

    C / C++ / MFC tutorial question

  • Multiple selection in CFileDialog and CListBox
    J julych

    Thanks a lot! It works great, but another problem is rising - if the selected files are too many (or the string in the "file name" edit control is too long) - nothing happens - i tried to change some of the members of the OPENFILENAME Structure, but with no result. Is it possible to make the "file name" edit control to accept longer strings and how?

    C / C++ / MFC tutorial

  • Multiple selection in CFileDialog and CListBox
    J julych

    I have enabled multiple file selection in an Open-a-File dialog. Please tell me how to obtain (a list of) all the selected files in this Open-a-file dialog and fill CListBox control with them.

    C / C++ / MFC tutorial

  • How to paly 2 *.WAV files at the same time?
    J julych

    It doesn't work man:-( In that order only second file is played, but not the first!

    C / C++ / MFC tutorial question

  • How to paly 2 *.WAV files at the same time?
    J julych

    I need to play two *.WAV files at the same time in my application - as in solitaire games - the first file is the background music and second sound file is played when the cards are moved (or similar events). Any idea how to do this? I'm trying with PlaySound() and a new thread, but nothing is happenning - maybe I can't set the flags properly or there is something else?

    C / C++ / MFC tutorial question

  • How to determine the position of a nontopmost windowin the Z-order?
    J julych

    How to determine whether a nontopmost window is at the top of all nontopmost windows?

    C / C++ / MFC tutorial question

  • How to destroy several instances of a dialog-derived class?
    J julych

    Let's say my application has a pointer to a CDialog derived class and I create some modeless dialogs.(More than one!). My question is how to destroy all of them - myPointer->DestroyWindow() - for the last created one and after that how to redirect the pointer to the rest of the dialogs in order to destroy all of them?

    C / C++ / MFC question json tutorial

  • AfxSetResourceHandle() - I failed to load the default resources of the application.
    J julych

    OK, thanks! But I was trying to avoid using GetDlgItem and SetWindowText functions. What I was asking was is it possible to load the default values (caption, size and so on)as they are defined in the *.rc file? Let's say the captions of some button or static controls have been changed (using 'SetWindowText'). Is it possible at runtime to restore the original values as they are defined in the *.rc-file? I mean to load them directly from this file? I can't get Petzold's book and that's why I'm asking here. By the way, is it available somewhere on the net as eBook? Greetings -J.

    C / C++ / MFC tutorial question

  • AfxSetResourceHandle() - I failed to load the default resources of the application.
    J julych

    In case that some of the buttons' captions (or other resources)of a dialog application have been changed - is it possible at runtime to set all the resources to their original names/values? I tried with AfxSetResourceHandle(), but nothing happened. Any suggestions how to do this? Thanks.

    C / C++ / MFC tutorial question

  • Which is the simplest way to close an application?
    J julych

    O, really? Thanks!:-D:-D It's my mistake I didn't ask the right question - what I meant was how one application can terminate another one.

    C / C++ / MFC question

  • Which is the simplest way to close an application?
    J julych

    :-))Sorry, I missed some words in my question - I meant how one application can terminate another one...

    C / C++ / MFC question

  • Which is the simplest way to close an application?
    J julych

    Which is the simplest way to terminate a dialog-based application?

    C / C++ / MFC question

  • Is it possible to restart my application from within my application?
    J julych

    Is it possible to restart my dialog application from within or should I create an outside object to close it and then to start it again?

    C / C++ / MFC question

  • How to set the original size of a window?
    J julych

    How to obtain the original length and height of a window (as they were defined in the the resource file) or is there a function which restores the window to it's original size?

    C / C++ / MFC tutorial question learning

  • How to show (restore) my window when MessageBox dialog is not closed?
    J julych

    Let's say the user didn't click the OK-button (or any other button) of the MessageBox dialog. Is there a way to define that MessageBox dialog is still running? Or let's put in another way - for some reasons I need to show my application above all the other non-topmost windows, but I can't do this when the MessageBox/AfxMessageBox dialog is running - for example when the user didn't click on the OK button of the MessageBox dialog and has activated another application. What shall I do in order to show my application and the unclosed MessageBox dialog? Is there a way to define that MessageBox dialog is still running? Or is it possible to create a pointer to it? And what about AfxMessageBox dialog - can I create a pointer to this dialog?

    C / C++ / MFC tutorial question

  • How to show my window above all non topmost windows?
    J julych

    How to show my dialog application (when restoring it from the system tray) above all non topmost windows?

    C / C++ / MFC tutorial question

  • How to add an item to the desktop's context menu?
    J julych

    How to add an item to desktop's context menu or is there an article to read about this?

    C / C++ / MFC tutorial question

  • How to restore my application instead of running a new instance?
    J julych

    How to restore (maximize) my application instead of running a new instance when another instance is already running?

    C / C++ / MFC tutorial question

  • How to restart my application?
    J julych

    Which is the most efficient way to restart my dialog box application, I mean to close the application and to start it again immediately after that.

    C / C++ / MFC tutorial question

  • How to rename the "OK" and "Cancel" in a property sheet
    J julych

    Please tell me how to rename the "OK" and "Cancel" button in a property sheet dialog and also how to rename the property pages in the sheet.

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