How we can customize a Dialog
| Thu, 2008-03-27 16:50 | |
|
Hi, I want to make a Dialog customizable in such a way that it should contain different controls means In my appliation i am using check box and combo box (Custom controls) So i am looking for such custom dialog where i can add the checkbox, combo box,label, etc. and that dialog should be craeted at run time. and I want to add the controls in dialog programatically. and all position and size of controls will be ddecided at run time. so that So if anybody has some idea. plz help me Thanks in advance |
|






Forum posts: 1093
If you want to do it with a real dialog, you can search the forum for posts mentioning CreateLineByTypeL. But it seems to be difficult on S60 and not really supported.
IMHO, for a fully dynamic solution, it would be easier to use a view, create, place and size the controls yourself, and take care of focus control, so that it will be very similar to a dialog.
René Brunner
Forum posts: 23
yes, your suggestion is right, we can do the same thing with the view..
But i want to implement the same thing using dialog,
so that i don't need to bother about the container, view and
then deletoion of container and controls.
Rishi Grag
Forum posts: 1093
Yes, doing it with a dialog takes away the need to baby-sit the controls yourself and care about focus (where things can go wrong, if you are not careful), but as I said on the other hand you try something that is barely supported and has many pitfalls on its own.
Sitll, if you go through all the posts here that contain the *magic word" CreateLineByTypeL, you might arrive at a working solution based on dialogs, if you are lucky.
René Brunner