[comp.windows.ms.programmer] DialogBoxIndirect

jerrys@bunker.UUCP (Jerry Shea) (03/23/91)

There is a function DialogBoxIndirect() which is documented in the SDK
manual. It's used to create a modal dialog box on the fly. You're 
supposed to pass it a DLGTEMPLATE data structure which defines what
the dialog box will look like. This data structure doesn't seem to
exist in any of the header files. Does anyone know if this is a valid
function and how it's supposed to be used?

Thanks,
		Jerry
-- 
Jerry Shea                            |  INET:  jerrys@bunker.shel.isc-br.com
ISC-Bunker Ramo, An Olivetti Company  |  UUCP:  uunet!bunker!jerrys
2 Enterprise Drive                    |  BIX:   jshea
Shelton, CT 06484 USA                 |  Phone: (203) 337-1646

drift@qut.edu.au (Glenn Wallace) (03/24/91)

In article <18296@bunker.UUCP>, jerrys@bunker.UUCP (Jerry Shea) writes:
> There is a function DialogBoxIndirect() which is documented in the SDK
> manual. It's used to create a modal dialog box on the fly. You're 
> supposed to pass it a DLGTEMPLATE data structure which defines what
> the dialog box will look like. This data structure doesn't seem to
> exist in any of the header files. Does anyone know if this is a valid
> function and how it's supposed to be used?
> 
> Thanks,
> 		Jerry
> -- 
> Jerry Shea                            |  INET:  jerrys@bunker.shel.isc-br.com
> ISC-Bunker Ramo, An Olivetti Company  |  UUCP:  uunet!bunker!jerrys
> 2 Enterprise Drive                    |  BIX:   jshea
> Shelton, CT 06484 USA                 |  Phone: (203) 337-1646
-- 
We had a requirement to do dialogs on the fly, and had the same problem.

We raised a SR on Microsoft OnLine and got a whole bunch of demo source back
probably including the structure def you need etc. I'll have a look
at work on Monday and see if I can post a minimal amount to get you
going.

And who said OnLine was useless? :-)


+-------------------+-----------------------------------------+
| Glenn Wallace     | Net: DRIFT@QUT.EDU.AU                   |
| Drift Project     | Fone: +61 7 837-7126 Fax: +61 7 221-0173|
| Telecom Australia | Snail: 11th Flr 144 Edward St.,         |
+-------------------+        Brisbane, Q4000 Australia        |
|                                                             |
| Disclaimer - The opinions expressed must be my own, because |
|              Telecom is a statuatory authority and as such, |
|              is not capable of having opinions.             |
+-------------------------------------------------------------+