Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ill_comms

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    345

    Preselecting files in a CFileDialog

    Just wondering how and if you can pre-select multiple files as the dialog opens? Do you place a list of them in the Initial Filename area, as I've tried this already the answer seems to be, No.
    Am I...
  2. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Hi Paul,
    thanks you're correct about the pointer, I was using terminology coming from the MapBasic guide book, it leaves alot to be desired.

    I think you guys have given me enough to carry on by...
  3. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Not sure if we're on the same page or not. From my program in MapBasic I can pass through variables either by reference or ByVal, that's all I meant.

    I pass through other buffer variables by...
  4. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Hi Paul,

    brilliant thanks I'm going to go with option 3.

    This is something else I haven't tried yet. Passing a buffer through by reference.
    I know this hasn't worked maybe you could give me...
  5. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Hi Paul,

    maybe I came over wrong, I'll back up a little. I have limited knowledge as yet and was trying to relay my understanding.

    I have used a buffer with API before as below



    Dim...
  6. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Hi,
    Thanks paul understand what you're saying however in this case I would prefer to keep things as they are, and would like to keep memory allocation fairly exact.

    With your way either I'd be...
  7. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Thanks for the advice the return is working perfectly. And I have implemented both functions just in case, however I believe that I'll only ever use ANSI, but assumptions are the mother of all...
  8. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Hi 0xC0000005, D_Drmmr

    thanks, what you say makes sense I'll use your path instead of the way I was going down!

    0xC0000005, As I am a beginner please elaborate, to what part of D_Drmmr's...
  9. Replies
    20
    Views
    1,855

    Re: Return non-unicode string from dll

    Hi D_Drmmr

    Thanks, ok this is where I get confused. Hope you don't mind I'm going to be talking about C++ and MapBasic (which is basically VB).

    Would I allocate this memory back in my...
  10. Replies
    20
    Views
    1,855

    Return non-unicode string from dll

    Hi,

    I've been trying to make an exportable function return a string value. With not much success so far.

    It is exporting just fine but what I'm getting back is a string full of rubbish. The...
  11. Re: Finding value of control from another dialog

    Ok still not working please help, I've tried setting up some public variables in the header of my list control. When I select an item it loads the text into the variables. On clicking the button, I...
  12. Replies
    6
    Views
    4,795

    Re: List Control changing sub items image.

    This looks interesting, a few questions. Is "CTest507Dlg" supposed to be the list class or the dialog? After that how would you create the declare the "OnNMClickList1"?
  13. Re: Finding value of control from another dialog

    Maybe on the other hand should I be setting up variables when I select a list item.

    E.g. when an item is clicked should I have a static variable "m_theListTextValue" that gets populated with the...
  14. Re: Finding value of control from another dialog

    Ok I just gave this a shot and it compiled but crashed. Am I still trying to access it directly, how do I know?

    void CCheckLCDemoDlg::GetZoomLevels(CCheckLCDemoDlg *LCDemoDlg)
    {
    CString theText...
  15. Re: Finding value of control from another dialog

    This is really confusing me, please bear with me.
    So back in the CLCZoomDlg::OnInitDialog() I create a dialog object.


    CCheckLCDemoDlg *LCDemoDlg = new CCheckLCDemoDlg;

    from there I call...
  16. Re: Finding value of control from another dialog

    Whoops you double posted me, I'll check out the second for a while. Ignore the last post.
  17. Re: Finding value of control from another dialog

    I'm a little unclear about the invoking indirectly and posting a message.

    So I call the CCheckLCDemoDlg::GetZoomLevels() from the CLCZoomDlg::OnInitDialog(), once I'm in GetZoomLevels I can begin...
  18. Re: Finding value of control from another dialog

    I agree, it's the pointer that I'm having an issue with. I thought I'd do something like this:

    CCheckListCtrl* theList = CCheckLCDemoDlg::m_listCtrl;

    however this fails twice upon compile:...
  19. Re: Finding value of control from another dialog

    The main dialog has a list in it, when I select one the items and press the button it opens up another dialog "CLCZoomDlg".

    In this CLCZoomDlg dialog it has a textbox which gets populated with...
  20. Finding value of control from another dialog

    Hi,

    I've created a listbox in a dialog, now when I select a button another dialog pops up which has textbox that I'd like to load the column text value into.

    The issue I'm having is accessing...
  21. Replies
    6
    Views
    4,795

    Re: List Control changing sub items image.

    Found the answer, decided to for the following code. If someone clicks on the sub item with the checkbox image inside it which happens to be zero (the first column) then it changes it's image...
  22. Replies
    6
    Views
    4,795

    How to tell what sub item has been clicked on?

    Hi All,

    I really need to figure out how to do this, "how to tell what sub item has been clicked on".

    Any help will be greatly appreciated
    Regards Hayden
  23. Replies
    6
    Views
    4,795

    How to tell what sub item has been clicked on?

    Hi All,

    I've created a List Control that displays in the following attached image. The checkboxes come from an ImageList, also attached and shown below.

    What I'd like to do now is provide the...
  24. Re: Help with CListBox Multi-column with checkbox [SOLVED]

    Hi Zerver,

    Thanks again for your help, as it was a fairly open ended question you gave me the answer for me to solve a majority of my issues.

    In the end I found a project that was close enough...
  25. Re: Help with CListBox Multi-column with checkbox

    Hi Zerver,

    thanks, I'll check out all your suggestions in a second.

    thought I might just throw this one into the mix. Coming up soon I have a similar little project which requires multiple...
Results 1 to 25 of 27
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center