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
A

aafcls

@aafcls
About
Posts
17
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • default buttons
    A aafcls

    can you please be more specific, I'm not sure how you mean to implement this.

    C / C++ / MFC tutorial question

  • default buttons
    A aafcls

    Hello, I have a dialog with an OK and Cancel button, for example. Until a certain event takes place, the OK button is disabled, and the Cancel button is default (ie: has the thicker black outline). When the event takes place, and the OK button becomes enabled, I want it so that the OK button instantly becomes the only default button. With what keywords can I accomplish this? Thanks ;)

    C / C++ / MFC tutorial question

  • sorting a list
    A aafcls

    oh I actually did use InsertItem() when you say to cast lParam1 and lParam2 to where I must have pointed with SetItemData, do I set them to the same pointer value? what makes param1 and param2 unique?

    C / C++ / MFC algorithms question

  • sorting a list
    A aafcls

    I am very sorry I do not understand. I do not make use of SetItemData(). All I have is my list control where I have a few InsertColumn()s and SetItemText() accordingly. When you tell me to cast these as pointers int CALLBACK CompareFunction(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort) ...pointing to what exactly?

    C / C++ / MFC algorithms question

  • sorting a list
    A aafcls

    are you referring to the CompareFunction in the article you sent? in that case, would I have to make use of "GetItemText" to fill in the "items" in CompareFunction? i'm just not sure how to implement this with a list of unknown quantity of items..

    C / C++ / MFC algorithms question

  • sorting a list
    A aafcls

    are there any available comparison functions just for a simple list control for a clicked-on header, to be passed to SortItem?

    C / C++ / MFC algorithms question

  • sorting a list
    A aafcls

    okay but what action item will take care of the header clicking functionality, because from there I can call sorting method.

    C / C++ / MFC algorithms question

  • sorting a list
    A aafcls

    Hello, I have a list control item with a given amount of columns and respective headers. I would now like to add some sorting functionality, where, upon clicking the header of the respective column, it sorts alphabetically. Are there any functions to accomplish this?

    C / C++ / MFC algorithms question

  • code formatting style [modified]
    A aafcls

    Hello, This may seem like a simple question, but in Visual Studio is it possible to set coding style, specifically: I like to write like this: method {    for    {       statement    } } but Visual Studio auto formats it like this (and I hate it!): method    {    for       {       statement       }    } How can I set it my way? -- modified at 10:21 Thursday 13th July, 2006

    C / C++ / MFC question csharp visual-studio

  • invisible button
    A aafcls

    Hello, I want to change the visibility of a push button, such that given a certain condition, the button is not visible at all (I don't mean just greyed out, I mean completely gone). What method do I use to control this? Thank you.

    C / C++ / MFC question

  • [Message Deleted]
    A aafcls

    [Message Deleted]

    C / C++ / MFC

  • new dialog on button click
    A aafcls

    just to clarify, is this assuming I have created a class for the new dialog as well? and then you are saying to double click on the button in the old dialog and declare an instance of the new dialog? I think I am creating too many classes, so please just clarify for me where and for what I am creating the classes, thanks!

    C / C++ / MFC question c++

  • new dialog on button click
    A aafcls

    Hello, If someone can simply break down the steps, as I think I'm missing something... My application is a dialog box, with a few buttons. On the button click, I want to launch a new dialog box which I have created in Resources. I have also added classes for it, so it has a cpp and h file. Now, how do I simply link the button to the dialog box, such that it will simply launch? Thank you. ;)

    C / C++ / MFC question c++

  • button alignment and movement
    A aafcls

    Hello, I am having some trouble controlling where my buttons in my dialog go when I resize the window. I want a certain group of buttons towards the right of the dialog to sort of move right when the dialog is expanded, however, I can't figure out how this is done in the properties. Can anyone point me in the right direction? Thanks! ;)

    C / C++ / MFC question

  • multiple selections in List View (LVS)
    A aafcls

    Thanks, this works. However, instead of selecting each item by index number, is there a way to "select all"? (instead of having to do individual SetItemState)

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

  • multiple selections in List View (LVS)
    A aafcls

    Mike, where the FAQ says: Here is how to select an item whose index is nItemToSelect: // MFC: wndYourList.SetItemState ( nItemToSelect, LVIS_SELECTED, LVIS_SELECTED ); does "index" refer to an actual number? for example, if I have 2 items in my list, would the first item be index "0", then index "1"? any others have alternative suggestions? (sorry, I am a novice)

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

  • multiple selections in List View (LVS)
    A aafcls

    Hello! This is my first post on the Code Project, maybe you can help me. In my dialog box I have a list view and a check box. If the check box is unselected, the user should be able to select any list item they wish. However, if the check box is selected, and there are only two list items, I want both list items automatically selected as it is a requirement of my application (right now, the user has to Shift select both list items before proceeding, and I want to remove this ambiguity by having both required list items selected for them). However if there are more than two items in the list, there should be no automatic highlighting. That said, I'm not sure how to go about this in Visual C++ .NET. Any suggestions? Thank you. :)

    C / C++ / MFC c++ csharp help tutorial 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