Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: ADMdialog problem, radio button groups (Via Email), 1 Attachments
Conf: (P-PDF) Developers, Msg: 104059
From: erikgyllenstierna
Date: 1/17/2004 03:04 AM

Hello,

I am using VC++ 6 and writing a plugin for Acrobat 6.0 Pro. I have drawn a dialog in VC which I display with: sADMDialog->Modal. See attachment, the right picture.

There are four independent groups of radio buttons and one text field in the dialog. When I test it in Visual Studio it works OK, the four groups of radio buttons are independent because I have set the "Group" option for the first (in tab order) radio button in each group.

But when I run the dialog from Acrobat the first three radio button groups works as one :-( I can only set one of the first seven radio buttons (tab 3-9). Radio buttons 11 and 12 are independent, maybe because there are an Edit box in between.

If I change the tab-order according to the left picture in the attachment (including the boxes in the tab-order) Acrobat now correct treats the four radio button groups independent but I can not use the mouse!? The mouse can only be used to click OK or Cancel. If I use the keyboard it works as intended!

I have also tried to manually edit the file resource.h to change the id's so that they not are consecutive. According to the "ADM Programmers Guide and Reference" this should make the button groups independent.

Please help ;-)

/Erik

The dialog