Type: Posts; User: ill_comms
Search took 0.02 seconds.
February 16th, 2011, 01:26 AM
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.
April 3rd, 2009, 06:23 AM
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...
April 3rd, 2009, 04:17 AM
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...
April 3rd, 2009, 01:43 AM
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...
April 2nd, 2009, 11:42 PM
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
April 2nd, 2009, 11:36 AM
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...
April 2nd, 2009, 01:12 AM
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...
April 1st, 2009, 10:21 AM
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...
April 1st, 2009, 05:03 AM
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...
April 1st, 2009, 03:45 AM
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...
March 24th, 2009, 11:49 PM
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...
March 24th, 2009, 10:08 PM
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"?
March 24th, 2009, 10:00 PM
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...
March 24th, 2009, 05:51 AM
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)
March 24th, 2009, 04:41 AM
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...
March 24th, 2009, 03:51 AM
Whoops you double posted me, I'll check out the second for a while. Ignore the last post.
March 24th, 2009, 03:42 AM
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...
March 24th, 2009, 03:08 AM
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:...
March 24th, 2009, 02:37 AM
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...
March 24th, 2009, 02:10 AM
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...
March 24th, 2009, 02:05 AM
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...
March 22nd, 2009, 09:19 PM
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
March 18th, 2009, 10:51 PM
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...
March 18th, 2009, 09:37 PM
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...
March 16th, 2009, 08:49 PM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.