Home
Top.Mail.Ru Yandeks.Metrika
Forum: "WinAPI";
Current archive: 2003.05.01;
Download: [xml.tar.bz2];

Down

something like TSpliter Find similar branches


Num Lock   (2003-03-04 08:23) [0]

Hello! How to properly implement on WinApi something like TSpliter in Delphi? I do this - I create a child window, and in its window procedure I write:
if uMsg = WM_LBUTTONDOWN then begin
ReleaseCapture;
PostMessage(hSplitter1, WM_SYSCOMMAND, $f012, 0);
end else if uMsg = WM_MOVE then begin
OnReSizeMainWindow();
end;// else if uMsg = WM_MOUSEMOVE then
Result:= CallWindowProc(Pointer(DefaultSplitter1WndProc), hwnd, uMsg, wParam, lParam);

, and in OnReSizeMainWindow () I expose all the positions of neighboring windows with the MoveWindow function. At the same time, while moving, hSplitter can be moved in two dimensions (but I would like only in one), and sometimes neighboring windows are not completely redrawn. How did you do that? Who has any ideas?



Игорь Шевченко   (2003-03-04 09:20) [1]

Read Petzold's "Programming in Windows" - there is an example



Num Lock   (2003-03-04 09:43) [2]

Probably an interesting book .. Can you tell me where to find it online?



Игорь Шевченко   (2003-03-04 09:44) [3]

Exactly, yandex will help



Num Lock   (2003-03-04 09:52) [4]

On Yandex, only links to mentions, such as here, maybe somehow I'm looking for something wrong? Okay, I'll try to search again



Num Lock   (2003-03-04 10:17) [5]

here, I found -
Book of C. Petzold. Programming for Windows 95.
http://asm.shadrinsk.net/docum.htm#15
, more than 7M in the archive. There is also a lot of other literature



крот   (2003-03-04 15:03) [6]

I recommend to look here, however, there in C ++.

http://www.softcraft.ru/coding/winapi/splitter.shtml




Pages: 1 whole branch

Forum: "WinAPI";
Current archive: 2003.05.01;
Download: [xml.tar.bz2];

Top





Memory: 0.56 MB
Time: 0.031 c
14-715
Shishkin Ilya
2003-04-12 22:10
2003.05.01
civil defense


1-598
saha
2003-04-18 17:52
2003.05.01
Hint


14-773
Blackman
2003-04-11 12:26
2003.05.01
Why, everyone who sits at the computer, is called a programmer?


14-747
crash
2003-04-14 08:36
2003.05.01
send a message to other processes


4-837
Jakommo
2003-03-04 18:28
2003.05.01
(w2k) How to close an application called exe in NT systems.





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic Indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish ภาษาไทย turkish Ukrainian urdu Tiếng Việt welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish