Any option to remove border or extra -[]x buttons?
Posted: Sat Nov 30, 2013 4:34 am

Are there any options to remove either the window border or the extra -[]x buttons?
Various discussion boards for XnView and related products
https://newsgroup.xnview.com/
FYI: There's a pending request for a chrome-less mode in XnViewMP: Windows interface inconsistenciesXnView Wiki (UI-less Settings » [url=http://www.xnview.com/wiki/index.php/UI-less_Settings#Hidden]Hidden[/url]) wrote:MenuBar
- When enabled, XnView hides the menu bar.
Value: Boolean (1/0), disabled by default
Code: Select all
WinSet, Style, -0xC40000, A
Code: Select all
#SingleInstance Force
#Persistent
SetTimer XnView, 5000
Return
XnView:
WinGet IDs, List, ahk_class XmainClass
Loop %IDs%
{
ID := IDs%A_Index%
If ID not in %Old_IDs%
{
WinActivate ahk_id %ID%
WinSet, Style, -0xC40000, A
WinActivate, A
}
New_IDs .= ID ","
}
StringTrimRight Old_IDs, New_IDs, 1
New_IDs =
Return
I see you know your stuffTiffany wrote:I imagine if you just wanted to hide the border couldn't you just use this?:
Code: Select all
WinSet, Style, -0xC40000, A
On 2nd thought, this probably has to do with the two different fullscreen modes of XnView Classic:Tiffany wrote:Seems like that specific set of -[]x stuff only affects that specific picture though, like if you used tabs or something I guess.