tag:blogger.com,1999:blog-10425945.post111365910040821314..comments2024-03-14T18:15:27.812-03:00Comments on ObjectARX & Dummies: Lab 2 - Using a MFC dialogFernando Malardhttp://www.blogger.com/profile/09852061806995998594noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-10425945.post-29550223200641747122010-09-28T07:45:43.959-03:002010-09-28T07:45:43.959-03:00Hi there,
For .NET ObjectARX I highly recommend K...Hi there,<br /><br />For .NET ObjectARX I highly recommend Kean's blog at:<br /><br />http://through-the-interface.typepad.com/<br /><br />Regards.Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-388466065299630812010-09-28T07:16:15.094-03:002010-09-28T07:16:15.094-03:00Thank you for your great traning! But I have some ...Thank you for your great traning! But I have some problems with System::Windows::Forms. Could you explain me step by step how to create DLL library with forms (for VS2005 and acad 2007)and show it in ARX application? I will be very gratefulAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-46852151339615026552009-05-16T14:03:00.000-03:002009-05-16T14:03:00.000-03:00Hello Chatko,
I have used native Visual Studio da...Hello Chatko,<br /><br />I have used native Visual Studio database support but today the best option is to use ADO.NET.<br /><br />Unfortunately I don't have any samples showing that.<br /><br />Regards.Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-67930147407456879332009-05-14T17:36:00.000-03:002009-05-14T17:36:00.000-03:00Hi Fernando,
How connect database (access) from O...Hi Fernando,<br /><br />How connect database (access) from ObjectARX,<br /><br />Regards,<br />Chatko from Yugoslavia,Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-88760620147502834512009-02-27T04:08:00.000-03:002009-02-27T04:08:00.000-03:00I have tested the application with commenting out ...I have tested the application with commenting out this line<BR/><BR/>CAcModuleResourceOverride res;<BR/><BR/>But it goes fine and i got no error. <BR/><BR/>Documentation says that by using this statement, module resources will be selected and when this object is destroyed, default resources will be select.<BR/><BR/>But what is reason of no effect by commenting out this line. Can you further elaborate it. ThanksUnknownhttps://www.blogger.com/profile/04312715054829704023noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-29741614839636280802008-08-28T18:10:00.000-03:002008-08-28T18:10:00.000-03:00Hi,Try to uninstall and then reinstall ARXWizard.R...Hi,<BR/>Try to uninstall and then reinstall ARXWizard.<BR/><BR/>RegardsFernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-73544850940665707612008-08-28T17:50:00.000-03:002008-08-28T17:50:00.000-03:00When I right click the combo box and the button, i...When I right click the combo box and the button, it doesn't appear the "add variable" and then I can't add. What can I do?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-62865985132005728192008-03-28T15:20:00.000-03:002008-03-28T15:20:00.000-03:00Aaron,How are you trying to do that?Could you prov...Aaron,<BR/><BR/>How are you trying to do that?<BR/>Could you provide a code snippet?Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-3154440814381718502008-03-28T15:17:00.000-03:002008-03-28T15:17:00.000-03:00Hi,Does anyone know if there is a way to change th...Hi,<BR/><BR/>Does anyone know if there is a way to change the color that is displayed for the ByLayer color in the CAcUiTrueColorComboBox. I have searched through the documentation and can only find a way to change the ByBlock color. I am trying to change the color dynamically when the user changes a layer selection. Any help would be greatly appreciated.<BR/><BR/>-AaronAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-31333850676090263332007-12-10T08:59:00.000-02:002007-12-10T08:59:00.000-02:00Hi Frank,Sometimes the Wizard present a problem wi...Hi Frank,<BR/><BR/>Sometimes the Wizard present a problem with scripts. It is based on HTML.<BR/><BR/>You may try to uninstall and then reinstall the ARXWizard to see if it fix this problem.<BR/><BR/>If you are still running into problems using the "Add variable Wizard" try to do the process manually:<BR/><BR/>Map a variable as MFC CComboBox class using MFC Wizard and then replace the CComboBox class with the CAcUiTrueColorComboBox class.<BR/><BR/>Best Regards,Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-81462673607954722622007-12-10T08:22:00.000-02:002007-12-10T08:22:00.000-02:00Hello Fernando,I'm working my way through the labs...Hello Fernando,<BR/><BR/>I'm working my way through the labs but , as e few people before me, I got stuck on the "choose CAcUiTrueColorComboBox for class"-thing. There is nothing in the "add member variable wizard" about classes. What am i doing wrong?<BR/><BR/>Greetings,<BR/><BR/>Frank NauwelaertsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-76350161941763283982007-04-25T08:20:00.000-03:002007-04-25T08:20:00.000-03:00Hi,Did you try to add the member variable through ...Hi,<BR/><BR/>Did you try to add the member variable through ClassView tab?<BR/><BR/>Select ClassView tab, look for your class, right click, select Add Member...<BR/><BR/>Sometimes the Variable Member Wizard generates some script errors. If this is your case, try to reinstall ARXWizard with Visual Studio closed.<BR/><BR/>Regards,<BR/>Fernando.Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-57608956478341286092007-04-25T02:31:00.000-03:002007-04-25T02:31:00.000-03:00I have the same problem as the one above that Mare...I have the same problem as the one above that Marek said, but I cannot resolve it. I did exactly the same as you wrote, could anyone tell me the reason?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1167752026005940972007-01-02T13:33:00.000-02:002007-01-02T13:33:00.000-02:00HiI wrote a comment few minutes before but I just ...Hi<BR/>I wrote a comment few minutes before but I just found out that everything works, sorry for the trouble.<BR/><BR/>MarekAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1167750710717321362007-01-02T13:11:00.000-02:002007-01-02T13:11:00.000-02:00Hi FernandoI'm working on VS 2005 and I've done ev...Hi Fernando<BR/><BR/>I'm working on VS 2005 and I've done everything until the step with a button and a combobox. The problem is I can't find any place referencing to choosing class. For example as I select "add variable" to button a new window pops up and I have <BR/>access: public<BR/>variable type: CButton<BR/>control ID: IDC_BUTTON1<BR/>category: control<BR/>variable name: [EMPTY]<BR/>control type: BUTTON<BR/>and disabled ones:<BR/>max chars, min value, max value, .h file, .cpp file.<BR/><BR/>And nothing about choosing class. Is there aby other way to set this up? I did everything as you wrote.<BR/><BR/>Thanks in advance<BR/>MarekAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1122032438179739402005-07-22T08:40:00.000-03:002005-07-22T08:40:00.000-03:00Hi Abhay,It should work but your dialog needs to b...Hi Abhay,<BR/><BR/>It should work but your dialog needs to be a Modeless one and you need to hide to allow prompt/screen interaction.<BR/><BR/>Did you try to run the following sample?<BR/><BR/>http://arxdummies.blogspot.com/2005/04/lab-2-solved.html<BR/><BR/>Does it show the same problem with dynamic PAN?<BR/><BR/>Please let me know.<BR/>Regards,<BR/>Fernando.Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1122025897458469402005-07-22T06:51:00.000-03:002005-07-22T06:51:00.000-03:00Hi Fernando,When I use ssget()from MFC dialog clas...Hi Fernando,<BR/><BR/>When I use ssget()from MFC dialog class, when I am selecting entites on drawing if I press pan command button on toolbar, it sends *cancel* and my selection command is teminated and pan is invoked.<BR/>afterwards if I invoke ssget(), it doesn't cancel's the sset() or pan.<BR/><BR/>Is there any way to make trasperent ssget() in dialog.<BR/><BR/>(I tried Documment Lock() unlock())<BR/><BR/>Regards<BR/><BR/>Abhay JoshiAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1115239365173744102005-05-04T17:42:00.000-03:002005-05-04T17:42:00.000-03:00Hi Fernando,Yes... on the latest attempt I did tha...Hi Fernando,<BR/><BR/>Yes... on the latest attempt I did that, hmm I do not understand, where you said "Regarding to the way you insert the dialog into project I prefer to use Autodesk Class View...."<BR/><BR/>Any way I am almost there, I'm comming from to many lisp/vlisp coding and it is very hard for me.<BR/><BR/>I have done most of your samples and I having a lot of fun.... thank you so much!!!<BR/><BR/>BTW, I will post the simpleLine solution I did, base on yours, I added the ability to define the points and then draw the line, also to hear any comment you might have.<BR/><BR/>Regards,<BR/>Luis.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1115238732932952322005-05-04T17:32:00.000-03:002005-05-04T17:32:00.000-03:00Hi Luis,Yes, unfortunately VStudio is not so smart...Hi Luis,<BR/><BR/>Yes, unfortunately VStudio is not so smart as we whish.<BR/><BR/>Regarding to the way you insert the dialog into project I prefer to use Autodesk Class View, right click on tree root and choose "Add MFC Extension Class...".<BR/><BR/>The ARXWizard overrides the native VStudio wizard (if you accept the suggestion during its installation) and add more functionalities due MFC support of AcUi and AdUi classes.<BR/><BR/>Regards,<BR/>Fernando.Fernando Malardhttps://www.blogger.com/profile/09852061806995998594noreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1115237389091147072005-05-04T17:09:00.000-03:002005-05-04T17:09:00.000-03:00I see why..... I must changed first Owner Draw = F...I see why..... I must changed first Owner Draw = Fixed, and then back to Has Strings = Fixed<BR/><BR/><BR/>Luis.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-10425945.post-1115217592831626482005-05-04T11:39:00.000-03:002005-05-04T11:39:00.000-03:00Hi,Is there a chance that you could elaborate a li...Hi,<BR/><BR/>Is there a chance that you could elaborate a litte more into the steps...<BR/><BR/>For example, ...add a new layout dialog...<BR/><BR/>Well, since I do not have an idea [and I know I read the pre-requisites], is this done by right-click on the name of the project ARXLAB2 and selecting: Add -> Add resource -> Dialog -> New<BR/><BR/>That, provides the dialog form with two buttons: OK & Cancel<BR/><BR/>And the default name for the dialog: IDD_DIALOG1<BR/><BR/>Then I add the MFC Ext. Class, but what name goes for the "Class name:"<BR/><BR/>I select the CAcUiDialog, etc.<BR/><BR/>But for example if I provide the name DIALOG1 to the ext. class, if I try to follow the step: Set Has Strings = True ...<BR/><BR/>That property is not accesible as most of the other properties that are in black.<BR/><BR/>Thank you so much for all your help.<BR/><BR/>Luis.Anonymousnoreply@blogger.com