View Issue Details

IDProjectCategoryView StatusLast Update
0019101LazarusLCLpublic2011-10-13 09:33
Reporteryang jixian Assigned ToVincent Snijders  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionno change required 
Product Version0.9.31 (SVN) 
Summary0019101: "PostMessage(Form1.Handle,LM_MOVE,0,0);" never works on windows XP
DescriptionIt moves the window on linux.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

yang jixian

2011-04-05 18:28

developer   ~0047252

It does not work with Turbo Delphi too.

Vincent Snijders

2011-10-11 13:36

manager   ~0052864

Why should it work? Can we resolve this as "won't fix"?

Bart Broersma

2011-10-12 17:18

developer   ~0052907

In Windows WM_MOVE is sent _after_ the window has been moved (see: http://msdn.microsoft.com/en-us/library/windows/desktop/ms632631(v=vs.85).aspx).

For moving windows the MoveWindow() should be used (see: http://msdn.microsoft.com/en-us/library/windows/desktop/ms633534(v=vs.85).aspx).

I'm not sure wether PostMessage(Handle,LM_MOVE,x,y) should move a window at all (on other OS's)?

Vincent Snijders

2011-10-13 09:32

manager   ~0052926

As explained by Bart Broersma.

Issue History

Date Modified Username Field Change
2011-04-05 17:00 yang jixian New Issue
2011-04-05 17:00 yang jixian LazTarget => -
2011-04-05 17:00 yang jixian Widgetset => Win32/Win64
2011-04-05 18:28 yang jixian Note Added: 0047252
2011-10-11 13:36 Vincent Snijders Note Added: 0052864
2011-10-12 17:18 Bart Broersma Note Added: 0052907
2011-10-13 09:32 Vincent Snijders Status new => resolved
2011-10-13 09:32 Vincent Snijders Resolution open => no change required
2011-10-13 09:32 Vincent Snijders Assigned To => Vincent Snijders
2011-10-13 09:32 Vincent Snijders Note Added: 0052926