PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PH 0.7.6b pen location issue.

Hi,

I have been using an older version of PH (0.7.3 if I remember) and all pen locations were fine, however since installing 0.7.6b, the pen Y location in the lParam is always like 26 pixels too low. I figure this has something to do with the TASKBAR size, but I can't figure out how to solve this issue.

I do the following in the init code:

Code:
SHFullScreen(hWnd, SHFS_HIDETASKBAR);
SHFullScreen(hWnd, SHFS_HIDESIPBUTTON);
SHFullScreen(hWnd, SHFS_HIDESTARTICON);
MoveWindow(hWnd, 0, 0, 240, 320, false);

PHAL::DisplayParameters params;
params.m_width = dwWidth;
params.m_height = dwHeight;
params.m_orientation = (PHAL::Orientation)orientation;
m_display.reset(Frog::Display::Create(hWnd, params));
Thierry? Anyone?
Well I don't know what to tell you. PocketHAL doesn't do anything with input (keys or stylus).

This is entirely under your control.

Same thing for the window.

You might want to remove the MoveWindow() call, I don't think you need it. Or move it above the SHFullScreen()... I have the feeling your MoveWindow() might be the problem.
Ha ok thanks. I will try to figure out what I did. :cry: