Cachino King Posted January 12, 2022 Share Posted January 12, 2022 I want to create a dialog, and I found this function: bool CSampleDlg3::CreateDialogLayout() { return this->CreateDialogLayoutFromVWR("VWUI Dialogs Sample/DialogLayout/SampleDlg3.vs"); } So I went through this file, found this: But I didn't have the "Dialog Builder Tools". Where can I get this tool? Or can I just use C++ build my dialog? Quote Link to comment
Hans Martin Kern Posted January 12, 2022 Share Posted January 12, 2022 You can find instructions on installing the dialog builder at https://developer.vectorworks.net/index.php/SDK:Dialog_Builder There's also the option to create the dialog layout with the SDK functions supplied, just scan ISDK for functions like Create... and SetBelow... / SetRight... 1 Quote Link to comment
Cachino King Posted January 12, 2022 Author Share Posted January 12, 2022 Thank you for your reply. I believe it will solve my problem Quote Link to comment
Stefan Bender Posted January 12, 2022 Share Posted January 12, 2022 The third option will be to write your own Vectorscript. That would be just the first part of the file created by dialog builder excluding the XML stuff after the Vectorscript routines. 1 Quote Link to comment
Cachino King Posted January 12, 2022 Author Share Posted January 12, 2022 After I installed the Dialog Builder, I noticed that the interface in my VW is different from the website. This is my VW: And this is the website's: It seems my builder doesn't have the button tools. And another question is how to create a new layout. I can just import the .vs file. Is there anything wrong with my tools? Or is there anything wrong with my installation way? Thank you very much. Quote Link to comment
Stefan Bender Posted January 12, 2022 Share Posted January 12, 2022 IIuc the website shows an old version of Dialog Builder. The new version contains these four tools only afaik. You can change the type of a dialog item in OIP. 1 Quote Link to comment
Cachino King Posted January 12, 2022 Author Share Posted January 12, 2022 3 minutes ago, Stefan Bender said: IIuc the website shows an old version of Dialog Builder. The new version contains these four tools only afaik. You can change the type of a dialog item in OIP. OK, I just found it. Thank you very much. Now I'm going to solve the problem of layout. I've never used this software before, so I feel rusty. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.