Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


help with comboboxes

OSR_Community_UserOSR_Community_User Member Posts: 110,217
can anyone Please help me with this stupid thing i'm stuck with, using
combo boxes in dialouge box. all i need is to work with a three option
dialouge box, how do I work with combo boxes? what are the commands
related to it (I'm talking about the get/setdlgitems not the classes ones)
and how do i initilize it, an change the option there?

if anyone can please help me or reffer me to something i can use to solve
my problem i'd be more then thankfull...

waiting for your reply

Oren Grinshtain

Israel

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    CB_

    CB_RESETCONTENT, CB_ADDSTRING, CB_GETCURSEL

    At 11:18 PM 4/16/00 +0300, you wrote:
    >
    >can anyone Please help me with this stupid thing i'm stuck with, using
    >combo boxes in dialouge box. all i need is to work with a three option
    >dialouge box, how do I work with combo boxes? what are the commands
    >related to it (I'm talking about the get/setdlgitems not the classes ones)
    >and how do i initilize it, an change the option there?
    >
    >if anyone can please help me or reffer me to something i can use to solve
    >my problem i'd be more then thankfull...
    >
    >waiting for your reply
    >
    >Oren Grinshtain
    >
    >Israel
    >
    >
    >---
    >You are currently subscribed to ntdev as: [email protected]
    >To unsubscribe send a blank email to $subst('Email.Unsub')
    >
    >
    >
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi,

    I don't know if it can help you, here is an extract of my application
    which uses some dialog box
    regards

    DPAPI_T_STATUS status;
    CString tmp;
    CSimpleInOut dlg;
    DWORD ret;
    DWORD Choice;

    //the user choose a board for the printer or for the scanner?
    dlg.m_dlgTitle = "For which board ?";
    dlg.m_ddxStatic1 = "0: manager<->printer || 1 manager<->scanner";
    dlg.m_ddxCheck1 = 0;
    dlg.m_ddxStatic2 = "";
    ret = dlg.DoModal();
    if ( ret == IDOK )
    {
    Choice = atol( dlg.m_ddxEdit1 );
    if(Choice == SCAN)


    Greenshtain Oren wrote:

    > can anyone Please help me with this stupid thing i'm stuck with, using
    > combo boxes in dialouge box. all i need is to work with a three option
    > dialouge box, how do I work with combo boxes? what are the commands
    > related to it (I'm talking about the get/setdlgitems not the classes ones)
    > and how do i initilize it, an change the option there?
    >
    > if anyone can please help me or reffer me to something i can use to solve
    > my problem i'd be more then thankfull...
    >
    > waiting for your reply
    >
    > Oren Grinshtain
    >
    > Israel
    >
    > ---
    > You are currently subscribed to ntdev as: [email protected]
    > To unsubscribe send a blank email to $subst('Email.Unsub')

    --

    --------------------------------------------------------
    Oce-Industries SA
    1, rue Jean Lemoine
    94015 Creteil cedex France
    phone: 33-1-48988121 fax: 33-1-48985450
    --------------------------------------------------------
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 January 2023 Live, Online
Developing Minifilters 20 March 2023 Live, Online
Writing WDF Drivers TBD 2023 Live, Online
Internals & Software Drivers 17 April 2023 Live, Online