Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(193)  |  Call(187)  |  Derive(0)  |  Import(6)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py   main(Download)
		# Support for diagonal resizing
		self.cyBorder = 3
		self.cCaptionSize = win32api.GetSystemMetrics(win32con.SM_CYSMCAPTION)
		self.cMinWidth = win32api.GetSystemMetrics(win32con.SM_CXMIN)
		self.cMinHeight = win32api.GetSystemMetrics(win32con.SM_CYMIN)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py   TrustRouter(Download)
		# Support for diagonal resizing
		self.cyBorder = 3
		self.cCaptionSize = win32api.GetSystemMetrics(win32con.SM_CYSMCAPTION)
		self.cMinWidth = win32api.GetSystemMetrics(win32con.SM_CXMIN)
		self.cMinHeight = win32api.GetSystemMetrics(win32con.SM_CYMIN)

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/docking/DockingBar.py   SublimeSpeech(Download)
		# Support for diagonal resizing
		self.cyBorder = 3
		self.cCaptionSize = win32api.GetSystemMetrics(win32con.SM_CYSMCAPTION)
		self.cMinWidth = win32api.GetSystemMetrics(win32con.SM_CXMIN)
		self.cMinHeight = win32api.GetSystemMetrics(win32con.SM_CYMIN)

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/pythonwin/pywin/docking/DockingBar.py   SublimeSpeech(Download)
		# Support for diagonal resizing
		self.cyBorder = 3
		self.cCaptionSize = win32api.GetSystemMetrics(win32con.SM_CYSMCAPTION)
		self.cMinWidth = win32api.GetSystemMetrics(win32con.SM_CXMIN)
		self.cMinHeight = win32api.GetSystemMetrics(win32con.SM_CYMIN)

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/pythonwin/pywin/docking/DockingBar.py   einstein(Download)
		# Support for diagonal resizing
		self.cyBorder = 3
		self.cCaptionSize = win32api.GetSystemMetrics(win32con.SM_CYSMCAPTION)
		self.cMinWidth = win32api.GetSystemMetrics(win32con.SM_CXMIN)
		self.cMinHeight = win32api.GetSystemMetrics(win32con.SM_CYMIN)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/framework/bitmap.py   main(Download)
	def OnCreateClient( self, createparams, context ):
		borderX = win32api.GetSystemMetrics(win32con.SM_CXFRAME)
		borderY = win32api.GetSystemMetrics(win32con.SM_CYFRAME)
		titleY = win32api.GetSystemMetrics(win32con.SM_CYCAPTION)	# includes border
		# try and maintain default window pos, else adjust if cant fit

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/framework/bitmap.py   TrustRouter(Download)
	def OnCreateClient( self, createparams, context ):
		borderX = win32api.GetSystemMetrics(win32con.SM_CXFRAME)
		borderY = win32api.GetSystemMetrics(win32con.SM_CYFRAME)
		titleY = win32api.GetSystemMetrics(win32con.SM_CYCAPTION)	# includes border
		# try and maintain default window pos, else adjust if cant fit

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32/Demos/SystemParametersInfo.py   main(Download)
 
print "SPI_SETDOUBLECLKWIDTH, SPI_SETDOUBLECLKHEIGHT"
x=win32api.GetSystemMetrics(win32con.SM_CXDOUBLECLK)
y=win32api.GetSystemMetrics(win32con.SM_CYDOUBLECLK)
print 'x,y:', x, y
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKWIDTH, x+1)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKHEIGHT, y+2)
new_x=win32api.GetSystemMetrics(win32con.SM_CXDOUBLECLK)
new_y=win32api.GetSystemMetrics(win32con.SM_CYDOUBLECLK)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKWIDTH, x)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKHEIGHT, y)
new_x=win32api.GetSystemMetrics(win32con.SM_CXDOUBLECLK)
new_y=win32api.GetSystemMetrics(win32con.SM_CYDOUBLECLK)
assert new_x==x

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/win32/Demos/SystemParametersInfo.py   TrustRouter(Download)
 
print("SPI_SETDOUBLECLKWIDTH, SPI_SETDOUBLECLKHEIGHT")
x=win32api.GetSystemMetrics(win32con.SM_CXDOUBLECLK)
y=win32api.GetSystemMetrics(win32con.SM_CYDOUBLECLK)
print('x,y:', x, y)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKWIDTH, x+1)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKHEIGHT, y+2)
new_x=win32api.GetSystemMetrics(win32con.SM_CXDOUBLECLK)
new_y=win32api.GetSystemMetrics(win32con.SM_CYDOUBLECLK)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKWIDTH, x)
win32gui.SystemParametersInfo(win32con.SPI_SETDOUBLECLKHEIGHT, y)
new_x=win32api.GetSystemMetrics(win32con.SM_CXDOUBLECLK)
new_y=win32api.GetSystemMetrics(win32con.SM_CYDOUBLECLK)
assert new_x==x

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/framework/bitmap.py   SublimeSpeech(Download)
	def OnCreateClient( self, createparams, context ):
		borderX = win32api.GetSystemMetrics(win32con.SM_CXFRAME)
		borderY = win32api.GetSystemMetrics(win32con.SM_CYFRAME)
		titleY = win32api.GetSystemMetrics(win32con.SM_CYCAPTION)	# includes border
		# try and maintain default window pos, else adjust if cant fit

  1 | 2 | 3 | 4 | 5 | 6  Next