Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Don Higgins
  Where is Don Higgins?
 Peoria
 Illinois - United States
 Don Higgins
 To: ramesh m
  Where is ramesh m?
 bangalore
 India
 ramesh m
 Tags
Subject: RE: Display issue using "Windows XP Display"
Thread ID: 331023 Message ID: 331379 # Views: 31 # Ratings: 0
Version: Visual FoxPro 8 Category: Windows Vista and VFP
Date: Thursday, December 29, 2011 2:31:02 PM         
   


I found some old code I used to display a window on the screen.

I had the code in my main.prg file used by my application. I called this code like this:


Do exitwindow In Main With "broke",10,79,"Error Messages-Please Write Down"
* Now activate the window
activate window broke
* 
* turn themes off
sys(2700,0)



Here is the function I put in main.prg


Function exitwindow
	Parameter winname, vertbox, horizbox, Titles

	Define Window (winname) ;
		AT  0.000, 0.000  ;
		SIZE (vertbox), (horizbox) ;
		TITLE (Titles) ;
		FONT "Arial", 15 ;
		STYLE "B" ;
		NOFLOAT ;
		PANEL ;
		NOCLOSE ;
		NOMINIMIZE ;
		COLOR Rgb(,,,255,255,255)

	Move Window (winname) Center

	Activ Window (winname) Noshow
	mm=(horizbox)/2



ENTIRE THREAD

Display issue using "Windows XP Display" Posted by Pablo Bustaber @ 12/25/2011 9:36:55 PM
RE: Display issue using "Windows XP Display" Posted by Don Higgins @ 12/27/2011 3:19:01 AM
RE: Display issue using "Windows XP Display" Posted by Pablo Bustaber @ 12/28/2011 12:41:46 AM
RE: Display issue using "Windows XP Display" Posted by Don Higgins @ 12/28/2011 4:46:29 AM
RE: Display issue using "Windows XP Display" Posted by ramesh m @ 12/28/2011 8:07:11 AM
RE: Display issue using "Windows XP Display" Posted by Don Higgins @ 12/29/2011 4:34:51 AM
RE: Display issue using "Windows XP Display" Posted by ramesh m @ 12/29/2011 12:53:27 PM
RE: Display issue using "Windows XP Display" Posted by Don Higgins @ 12/29/2011 2:24:38 PM
RE: Display issue using "Windows XP Display" Posted by Don Higgins @ 12/29/2011 2:31:02 PM
RE: Display issue using "Windows XP Display" Posted by ramesh m @ 12/29/2011 4:51:09 PM