DGShowModelessDialog wrong number of arguments
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2010-12-16
11:35 AM
- last edited on
ā2023-08-03
10:34 AM
by
Doreena Deng
ā2010-12-16
11:35 AM
Hello everyone.
I need some help here because I've got a quite weird issue with the DGShowModelessDialog function.
Here's the code :
"DGShowModelessDialog : function doesn't require 1 parameter"
Thought that the function only requires the ID of the previously created blank palette !
Does someone have a clue on this ?
I took a look into the Dialog Manager 2.0 and i don't see where i'm wrong...
Thanks for the help !
I need some help here because I've got a quite weird issue with the DGShowModelessDialog function.
Here's the code :
short idPalette; //Creation of the blank palette (for test purposes) idPalette = DGCreateBlankPalette(500, 60, DG_DLG_NOGROW, DG_DLG_CLOSE, DG_DLG_TOPCAPTION, DG_DLG_THICKFRAME, ModulePerso_Handler, 0); //If the creation succeeded if(idPalette != 0) { //We start processing events DGBeginProcessEvents(idPalette); //We show the palette DGShowModelessDialog(idPalette); }Then when I build the add-on, I've got 1 error, weird one thought, about :
"DGShowModelessDialog : function doesn't require 1 parameter"
Thought that the function only requires the ID of the previously created blank palette !
Does someone have a clue on this ?
I took a look into the Dialog Manager 2.0 and i don't see where i'm wrong...
Thanks for the help !
Labels:
- Labels:
-
Add-On (C++)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2010-12-16 12:30 PM
ā2010-12-16
12:30 PM
atila-diffusion wrote:From ArchiCAD 14, the call
I need some help here because I've got a quite weird issue with the DGShowModelessDialog function.
...when I build the add-on, I've got 1 error, weird one thought, about :
"DGShowModelessDialog : function doesn't require 1 parameter"
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2010-12-16 12:50 PM
ā2010-12-16
12:50 PM
Oh okay ! Thanks a lot Ralph !