Нужно что бы блокнот бы always on top

Discussion in 'Болталка' started by 6anzay, 4 Mar 2011.

  1. 6anzay

    6anzay Member

    Joined:
    30 Nov 2009
    Messages:
    138
    Likes Received:
    28
    Reputations:
    10
    сабж

    какой самый простой и самый быстрый что бы этого достичь?
     
  2. 6anzay

    6anzay Member

    Joined:
    30 Nov 2009
    Messages:
    138
    Likes Received:
    28
    Reputations:
    10
    он тяжеловат
     
  3. arnis

    arnis Member

    Joined:
    30 Jan 2011
    Messages:
    280
    Likes Received:
    23
    Reputations:
    0
    IMHO разобрать на з\ч блокнот вписать 1 строчку и назад собрать :)
     
  4. Solutan

    Solutan New Member

    Joined:
    4 Apr 2007
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    AkelPad. OnTop переключается по Ctrl+T.
     
  5. 6anzay

    6anzay Member

    Joined:
    30 Nov 2009
    Messages:
    138
    Likes Received:
    28
    Reputations:
    10
    [​IMG]
     
  6. Dyxxx

    Dyxxx Elder - Старейшина

    Joined:
    16 Feb 2009
    Messages:
    107
    Likes Received:
    155
    Reputations:
    24
    проще анвир таск менеджер поставить
     
  7. Vampire199

    Vampire199 New Member

    Joined:
    3 Mar 2011
    Messages:
    9
    Likes Received:
    1
    Reputations:
    0
    Я использую Notepad++ и MiBEditor
     
  8. sn0w

    sn0w Статус пользователя:

    Joined:
    26 Jul 2005
    Messages:
    1,023
    Likes Received:
    1,309
    Reputations:
    327
    ща сделаю

    http://www.sendspace.com/file/7mm1p8

    Code:
    #include <windows.h>
    
    #pragma optimize("gsy", on)
    
    #pragma comment(linker, "/MERGE:.rdata=.text")
    #pragma comment(linker, "/MERGE:.data=.text")
    #pragma comment(linker, "/SECTION:.text,ERW")
    #pragma comment(linker, "/ENTRY:start")
    #pragma comment(lib, "ntdll.lib")
    
    BOOL CALLBACK EnumWindowsProc(
    	__in  HWND hwnd,
    	__in  LPARAM lParam
    	)
    {
    	char cn[256];
    	GetClassNameA(hwnd, cn, 255);
    
    	if(!lstrcmp(cn, "Notepad"))
    	{
    		RECT rc;
    
    		GetWindowRect(hwnd,&rc);
    		SetWindowPos(hwnd,HWND_TOPMOST, rc.left,rc.top,rc.right-rc.left,rc.bottom-rc.top,SWP_DRAWFRAME);
    	}
    	return 1;
    }
    
    
    //////////////////////////////////////////////////////////////////////////
    void start()
    {
    	EnumWindows(EnumWindowsProc, 0);
    	ExitProcess(0);
    }
    
     
    #8 sn0w, 5 Mar 2011
    Last edited: 5 Mar 2011
  9. randman

    randman Members of Antichat

    Joined:
    15 May 2010
    Messages:
    1,366
    Likes Received:
    610
    Reputations:
    1,101
    Используйте Edit Plus, там ещё и подсветка синтаксиса и ещё много чего, размер примерно 3 МБ. А если нужен маленький, то можно на асме написать под собственные цели.
     
  10. Logatel

    Logatel Member

    Joined:
    6 Oct 2009
    Messages:
    59
    Likes Received:
    15
    Reputations:
    0
    Я DeskPins использую
     
  11. Dyxxx

    Dyxxx Elder - Старейшина

    Joined:
    16 Feb 2009
    Messages:
    107
    Likes Received:
    155
    Reputations:
    24
    я думаю ты очень очень помог тсу, или ты просто хотел понтануться? молодес