- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi,
I have a project where I am adding extra controls to an existing application. There seems to be space in the dialog box to accomodate that. However, I know in CVF there is a limit on the number of controls that can be added. Before I upgrade this application to IVF, wanted to know if it would have the ability to add the extra controls that I need. Is this a (IV/CV) Fortran limit or a MS Dev limit.
Thanks
- Marcas:
- Intel® Fortran Compiler
Link copiado
5 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
That's an MS limit on the number of child windows a window can have. Each control in a dialog box is one or more child windows.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
My memory is vague, but I think that the limit in question existed only for Windows 9x and was 65535. Windows NT/2000/XP don't have that limit as far as I know.
Jugoslav
Jugoslav
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
FWIW, I have a Dialog box in CVF6.6B / Windows XP where I came up against a limitfor the number of controls at 256 - it was very difficult to find where that was documented. However, the limit was only when using the Wizard, and I added extra controls by editing the resource file using Notebook, ending up with about 300.
HTH
Alan
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks Alan & Jugsoslav,
Alan, Can you clarify a little as to what you mean by editing the resource file using Notebook (Notepad sp?). I go to the dialog box in Design mode and click on a control to add it.
Do you mean that I can go to the resource.h and resource.fd file and add the 257th control as say IDC_EDIT257 and it will show up on the dialog and then I can position it where I want.
Thanks in advance for your help on this.
Regards,
Sumit
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Sumit,
Sorry - of course it was Notepad. It is the .rc file that you need to edit initially with Notepad, and then add the new control ID number(s) to the .h & .fd files. I worked by copying the type of controlthat I wanted from another part of the .rc file, changing its ID and normally also changing its position so that it could be grabbed separately from its original. When the Control IDs are in place so that the dialog box appears with the new control, it can be moved, resized & edited normally.
HTH
Alan

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora