Prompt User in DWG Space without hiding the dialog

Prompt User in DWG Space without hiding the dialog

abdulhaseeb114
Contributor Contributor
750 Views
7 Replies
Message 1 of 8

Prompt User in DWG Space without hiding the dialog

abdulhaseeb114
Contributor
Contributor

Hi All,

 

I need a help.

I am prompting user to select a polyline in drawing space through a button in a dialog box, while prompting this dialog box get disappear or hidden.

 

I need this dialog box to be still appear while prompting..

 

Please Help.

 

Thanks and regards,

Abdul Haseeb.

0 Likes
751 Views
7 Replies
Replies (7)
Message 2 of 8

PEPANOVAK
Contributor
Contributor

Hi,

try Modeless Dialog Box

0 Likes
Message 3 of 8

abdulhaseeb114
Contributor
Contributor

Hi,

Is it possible in Modal type dialog box with a button ????....

 

0 Likes
Message 4 of 8

PEPANOVAK
Contributor
Contributor

 

void CSample::OnSelectEntity()
{
    BeginEditorCommand();

 

// select entities

    CompleteEditorCommand();
}

0 Likes
Message 5 of 8

abdulhaseeb114
Contributor
Contributor

Hi,

 

Thanks for the code.

 

using this I can only get entity by pressing button...but the dialog box got disappear while prompt!!!

 

I need that dialog box to be shown while prompt also....

0 Likes
Message 6 of 8

Alexander.Rivilis
Mentor
Mentor

@abdulhaseeb114 wrote:

Hi,

 

Thanks for the code.

 

using this I can only get entity by pressing button...but the dialog box got disappear while prompt!!!

 

I need that dialog box to be shown while prompt also....


So dialog have to be modeless. In other case in order to select entities you have to hide dialog.

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

0 Likes
Message 7 of 8

abdulhaseeb114
Contributor
Contributor

Hi,

 

Thanks for the clarification.

 

So for Modal forms we cant able to display dialog while prompt!!!

 

0 Likes
Message 8 of 8

thierry_prince
Advocate
Advocate

Hi,

 

Exactly. But why do you want to do that ?

If the dialog is not hidden while selecting something, you can't see the whole graphic area.

 

Cheers,

Thierry

0 Likes