Click here to Skip to main content
13,143,637 members (29,603 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how to disable minimize button in , i can't use showmodal dialog,

Posted 4-Feb-13 2:51am
Irbaz Haider Hashmi 4-Feb-13 9:01am
You can't.
aspnet_regiis -i 4-Feb-13 9:04am
Not possible and not advisable.. Leave it to the user .. He will either minimize it or close it.. Be careful...If you force the user to view your website, then he will add your website to blocked list..
Krunal Rohit 4-Feb-13 9:12am
Not possible
Krunal Rohit 4-Feb-13 9:15am
Try"url","windowname", "toolbar=no,menubar=no");
but it will remove all borders

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Well, if your users are more IE centric, then you can achieve this using the HTA (HTML Application extension). Search for .HTA pages (in MSDN) to learn how to convert your web page to .HTA page. Then, you will get full control on the browser window - even a complete frameless window (no borders, no toolbars, no title bar) plus the facility of invoking all ACTIVE-X controls without any kind of security alerts !!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170915.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100