Displaying 4 results from an estimated 4 matches for "screenheight".
Did you mean:
screen_height
2005 Apr 21
9
Screen capture, save to file
...long)"
extern "long DeleteDC(HDC)"
extern "long ReleaseDC(long, HDC)"
module_function
def screenCapture(filename = "tmp.bmp")
hScreenDC = getWindowDC(0)
hmemDC = createCompatibleDC(hScreenDC)
screenWidth = getDeviceCaps(hScreenDC, HORZRES)
screenHeight = getDeviceCaps(hScreenDC, VERTRES)
hmemBM = createCompatibleBitmap(hScreenDC, screenWidth,
screenHeight)
selectObject(hmemDC, hmemBM)
printf("width,height = #{screenWidth},#{screenHeight}\n")
r = bitBlt(hmemDC, 0, 0, screenWidth, screenHeight, hScreenDC, 0, 0,
SRCCOPY)...
2006 Jun 20
1
Packaging platform-specific functions
I have a few functions, such as screenWidth() and screenHeight(), which
I have been able to implement for a Unix/Linux environment, but not for
Windows. (Does anyone know how to find the screen dimensions in
Windows?)
The Writing R Extensions manual tells me how to include
platform-specific sections in documentation, and even how to have
platform-specific he...
2006 May 30
1
DOM values in ERB Variable?
I am trying to post the current brower window sizes into the user''s
session file with a form_remote_tag call as follows:
<%= form_remote_tag :url => url_for(:controller => "welcome", :action
=> "login", :iheight => "1", :iwidth => "2") %>
But how do I get the DOM data for window.innerHeight and
window.innerWidth into an
2007 May 22
0
tcl font size issue on centso 4.4 x86_64
...I run this script as "wish -f file.tcl"
What am I doing wrong to not get bigger fonts?
THanks,
Jerry
---------------------------------------------
set font_size 40
set show_window_title 0
set disable_window_decorations 1
set screen_width [winfo screenwidth . ]
set screen_height [winfo screenheight . ]
set window_x 0
set window_y 0
set my_message "This is my message..."
wm geometry . ${screen_width}x${font_size}+${window_x}+${window_y}
wm overrideredirect . $disable_window_decorations
font create ourFont -family helvetica -size $font_size
set c [canvas .c -height $font_size -width...