|
DavidCrow wrote: No semicolon is required.
In original post, he mentioned setting data using DATA field in properties window. There you have to insert data (; ) separated.
Let's say I want to display three items added initialy viz. "tom","dick" and "harry", you can add it in DATA field with (; ) as separator; as "tom;dick;harry "
|
|
|
|
|
prasad_som wrote: There you have to insert data (;) separated.
No you don't. Each item goes on a separate line. No semicolon is required. This is in the context of VC++ v6.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Ohh ! I was talking in VS 2005 context.
|
|
|
|
|
namy31 wrote: I tryed with insertstring and additem method...
What value are they returning?
namy31 wrote: it does not show any data
Exactly how are you verifying this?
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
In my initdialog function I m using these function controls r initialized here
for veryfying I just need to run my programm where I see the form I have created all other controls work fine but my conbobox shows no contents on clicking right corner it just expands to the designed size but doesnot show anythig
Thanx for such quick and guiding responses
namy1
|
|
|
|
|
Is the combobox "tall" enough? The default height is way too small.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Yes its quite long to accomodate atleast two items bcoz right now i m trying to display 2 items only
is there ne way to send attachments i would send u the screen shots
thanx
namy1
|
|
|
|
|
Try sending them to davidcrow(at)peoplepc.com.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hello everyone,
I m customozing AutoCAD using VC++
I want to display a messageBox on the AutoCAD screen How can I do that
PLSSSSS help me
Thanx
namy
namy
|
|
|
|
|
namy31 wrote: I want to display a messageBox on the AutoCAD screen
In My Opinion,You can achieve this using hooking techniques...
-- modified at 5:33 Thursday 21st September, 2006
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hello,
I did'nt get u??
namy
|
|
|
|
|
_AnShUmAn_ wrote: In My Opinion,You can achieve this using hooking techniques...
That would be overkill.
Many times such products(I'm not sure about AutoCad though) are cross-platform.
For extensibility they provide there interfaces,API's, or scripting language.
And there interface provides such functionalities like MessageBox. He need to look in to there SDK help.
In case of Windows platform. He can use suggestion by christian Graus.
But its always better to use API's given by Products development kit.
|
|
|
|
|
prasad_som wrote: That would be overkill.
Humm!
prasad_som wrote: provide there interfaces,API's, or scripting language
Yes, if they do so it would always be the better option to go ahead with.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Are you already using a framework that allows you to write code that runs inside AutoCAD ? Or are you just writing a stand alone program at this point ? It seems to me that if you have access to AutoCAD via a COM library or something, then you should get all the facilities you need from there.
Having said that, if you're already inside AutoCAD, you just need to make the main HWND of AutoCAD the owner of a call to MessageBox.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
hello Christian,
I m using ObjectARX and I have searched in its API's I could not locate anything I posted my query at Autdesk's ObjectARX discussion forum ut they replied that I m weak with my c/c++ basics I should look into c/c++ functionalities for it
I m literally confused since i m not a very professional programmer i m just a third year student of graduation
plsss help me
thanx & regards
waiting for the reply
|
|
|
|
|
The first parameter of MessageBox is a HWND. If you pass the HWND of AutoCAD, then the message box will have the AutoCAD window as it's parent.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
MessageBox(NULL,"TRY","TRY",MB_OK);
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
Link2006 wrote:Let's take it outside of CP
Jeremy : Please don't.I would love to see this.I'm making the popcorn already.
|
|
|
|
|
Thanx All for the replies my problem is solved I m generating the msgbox in my Acad window its great to be the member of this community
|
|
|
|
|
So the MessageBox is what you've been looking for? hmm anyway you are most welcome to the CodeProject
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
Link2006 wrote:Let's take it outside of CP
Jeremy : Please don't.I would love to see this.I'm making the popcorn already.
|
|
|
|
|
Hi,
I created two dialog boxes.I want to get data from a control in one dialog box into another dialog box.
Can anyone say how to get it.
Thank you.
|
|
|
|
|
vc++_fragrance wrote: Hi,
I created two dialog boxes.I want to get data from a control in one dialog box into another dialog box.
Can anyone say how to get it.
Thank you.
Write one Set function to set the data into the second dialog and then display this dialog.
For eg:
void SetData( PVOID pCustomData )
{
m_myData = (PMYDATA) pCustomData;
}
Or pass the data to the constructor of the second dialog...
Or use events to send the data to the second dialog and wrap the data inside the LPARAM or WPARAM parameters.
|
|
|
|
|
Use SendMessage Function that could be helpful for you.
|
|
|
|
|
WTF !?
|
|
|
|
|
WTF ?????
|
|
|
|
|
HEY !!!!!
you have a problem with your signature, don't you ?
|
|
|
|