Plugin Cafe's original forum is still archived and available for searches. The ability to post here has been disabled.
 
Developer's Forum [PREV] [NEXT]
Subject: ASSISTANCE!!!
From: David Farmer
Date: 2/22/2002 6:39 PM GMT
    I need a resolution to following problem.

    x = msg.GetLong( BFM_INPUT_X );
    y = msg.GetLong( BFM_INPUT_Y );

    It seems that using the above within GeDialog::Message gives me global coordinates when the dialog is docked ( I have to use ScreenToLocal while adding 19 to the y component ). When the dialog is not docked I receive the exact local coordinates without using ScreenToLocal or adding 19 to the y component. This proposes a VERY SERIOUS PROBLEM. Is there a way to know if the dialog is docked? Is there any documentation that would describe what the behaviour should be?

    It is very hard to guess a solution without having a clue how this stuff is supposed to work in the first place.

    darf
Current Message String
new ASSISTANCE!!! - David Farmer - 2/22/2002 6:39 PM GMT
 new RE: Add a manual GetInputState()... - Mikael Sterner - 2/22/2002 8:55 PM GMT
 new RE: Add a manual GetInputState()... - David Farmer - 2/22/2002 11:04 PM GMT
 new RE: Add another GetItemDim()... - Mikael Sterner - 2/23/2002 1:02 PM GMT
 new RE: BMF_INPUT not supp. in GeDialog::Message() - Mikael Sterner - 2/25/2002 9:52 PM GMT
 new RE: Add another GetItemDim()... - David Farmer - 2/25/2002 10:44 PM GMT
[PREV] [NEXT]