[p4] Question about p4v command line

Robert Cowham robert at vaccaperna.co.uk
Tue Jan 30 04:43:26 PST 2007


I thought it might be the ID of the parent window (on windows, 0 defaults to
Desktop being parent).

E.g. http://msdn2.microsoft.com/en-us/library/ms633541.aspx

Maybe the QT heritage changes things...

Robert 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Arnt 
> Gulbrandsen
> Sent: 30 January 2007 10:39
> To: perforce-user at perforce.com
> Cc: Dan Konigsbach
> Subject: Re: [p4] Question about p4v command line
> 
> G Barthelemy writes:
> > On 1/30/07, Dan Konigsbach <DKonigsbach at dominator.com> wrote:
> >>  - When is the -win parameter required?  What does its 
> value represent?
> >>  ...
> >
> > ...
> >
> > I queried support about it (particularly as "-win 1234" 
> worked on my 
> > Windows host but not on others), and their answer was that 
> this is an 
> > undocumented interface and is not currently supported, but 
> that using 
> > "-win 0" should work for most.
> 
> That'll be the window ID, I guess.
> 
> If you know the ID of a window, you can operate on it. If 
> p4win wants p4v to draw in a window owned by p4win, it can to 
> tell p4v the ID of that window and p4v feeds the number into 
> this function:
> http://doc.trolltech.com/4.2/qwidget.html#create
> 
> The IDs are assigned by the window system and are essentially random. 
> Any decent GUI toolkit should be able to tell you the ID of a 
> window you created, though, so if you have a window, you can 
> make p4v draw in it.
> 
> (I'm simplifying a little bit.)


More information about the perforce-user mailing list