-
Replied To a Post in [win32] - how create a bitmap in memory?
i never use that message with a button, but i don't want lose the button face :( -
Replied To a Post in [win32] - how create a bitmap in memory?
now i know why these type of error: "crosses initialization of 'objecname'" because i can't do something like these: HDC memdc=GetDC(hwnd); but i must do: HDC memdc; memdc=GetDC(hwnd); (i did … -
Replied To a Post in [win32] - how create a bitmap in memory?
or did i forget add something to the project? for test, i did a copy-paste of that code... but i continue with same errors. maybe i need add 1 library … -
Replied To a Post in [win32] - how create a bitmap in memory?
sorry... i continues witht several errors :( please tell what i'm doing wrong... please -
Created [win32] - how create a bitmap in memory?
i'm trying building a BITMAP from memory, but isn't easy :( //create the button HandleButton=CreateWindowEx (0,"button", "hello\t\tHI", WS_CHILD | WS_VISIBLE | BS_TEXT | BS_BOTTOM |BS_BITMAP, 100, 100,500, 200,hwnd, (HMENU)4000,hInstance, 0) … -
Began Watching [win32] - how create a bitmap in memory?
i'm trying building a BITMAP from memory, but isn't easy :( //create the button HandleButton=CreateWindowEx (0,"button", "hello\t\tHI", WS_CHILD | WS_VISIBLE | BS_TEXT | BS_BOTTOM |BS_BITMAP, 100, 100,500, 200,hwnd, (HMENU)4000,hInstance, 0) … -
Marked Solved Status for [win32] - how the child control accept the text format?
when we create child controls, what is the style for accept text formats? (i mean: '\t', '\n' and others) -
Gave Reputation to Ancient Dragon in [win32] - how the child control accept the text format?
unless MSDN says otherwise, controls don't work with them. You have to expand those yourself before sending text to the control. -
Replied To a Post in [win32] - how the child control accept the text format?
i see what you mean. thanks seems that i must do the BITMAP(you will see the next thread) for show the image and text in same time ;) -
Replied To a Post in [win32] - someone can explain to me these information with code?
i used that style, but the text isn't showed too :( -
Created [win32] - WM_KEYUP: how combine the keys?
using the WM_KEYUP message: how can i combine the keys? if(wParam== VK_CONTROL & 'a') MessageBox(NULL,"hi", "hi",MB_OK); if i click on control key, the message is showed.... but my combination key … -
Began Watching [win32] - WM_KEYUP: how combine the keys?
using the WM_KEYUP message: how can i combine the keys? if(wParam== VK_CONTROL & 'a') MessageBox(NULL,"hi", "hi",MB_OK); if i click on control key, the message is showed.... but my combination key … -
Gave Reputation to blackmiau in why i don't recive a mail notification, when i'm logined?
I already explained it. Here's a test: change your status to offline. -
Marked Solved Status for why i don't recive a mail notification, when i'm logined?
maybe i'm the 1st seen these problem, maybe i'm not... i noticed before and i didn't make case, but now i'm horry about it... i'm logined from 1h(maybe more) and … -
Replied To a Post in why i don't recive a mail notification, when i'm logined?
i have 'Automatically Watch Articles I Post In?' selected. heres the state: if i'm login: - i can recive the PM mail notification; - i don't recive the post mail … -
Replied To a Post in why i don't recive a mail notification, when i'm logined?
i have that option selected... the problem is when i'm login in forum: i don't receive them(only about the PM) :( -
Created [win32] - someone can explain to me these information with code?
i'm reading these page: http://msdn.microsoft.com/en-us/library/windows/desktop/bb775951%28v=vs.85%29.aspx but see the Remarks section: Remarks For illustrations of the principal button styles such as BS_CHECKBOX and BS_GROUPBOX, see Button Types. The appearance of text … -
Began Watching [win32] - someone can explain to me these information with code?
i'm reading these page: http://msdn.microsoft.com/en-us/library/windows/desktop/bb775951%28v=vs.85%29.aspx but see the Remarks section: Remarks For illustrations of the principal button styles such as BS_CHECKBOX and BS_GROUPBOX, see Button Types. The appearance of text … -
Created [win32] - how the child control accept the text format?
when we create child controls, what is the style for accept text formats? (i mean: '\t', '\n' and others) -
Began Watching [win32] - how the child control accept the text format?
when we create child controls, what is the style for accept text formats? (i mean: '\t', '\n' and others) -
Edited [win32] - about ownerdraw message
when i use the ownerdraw message, with button(for exemple), do i lose the button face or only the text? (i need show a text and image, without lose the button … -
Created [win32] - about ownerdraw message
when i use the ownerdraw message, with button(for exemple), do i lose the button face or only the text? (i need show a text and image, without lose the button … -
Began Watching [win32] - about ownerdraw message
when i use the ownerdraw message, with button(for exemple), do i lose the button face or only the text? (i need show a text and image, without lose the button … -
Marked Solved Status for about email notifications
i continue with 1 problem with emails notifications and i have the option selected :( - if i'm log out/off, i recive the mails notifications normaly(new posts and private message); … -
Replied To a Post in about email notifications
;) the problem isn't resolved, but i will use your tip: refresh the Watched Articles ;) hey... thanks for all -
Gave Reputation to blackmiau in about email notifications
I'm helping cambalinho by Private Message, trying to figure out what's the problem, since it's easier in Portuguese :) -
Replied To a Post in about email notifications
thanks for all... realy... thanks -
Replied To a Post in [win32] - about getting the window, client and DC size
triumphost: please give me an example for test it(just with windows message not entire code) ;) i know use the function(i think lol), but i don't know if i need … -
Marked Solved Status for [win32] - about getting the window, client and DC size
- the GetWindowRect() give me the window size and position; - the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others; so when 1 image is more big than … -
Gave Reputation to Suzie999 in [win32] - about getting the window, client and DC size
I don't have an answer to this but I believe the OP means if the content of a window holds an image or multiple images or some other content which … -
Replied To a Post in [win32] - about getting the window, client and DC size
thanks to both for all information, maybe now i understand how can i get the 'DC size' ;) thanks to both -
Replied To a Post in [win32] - about getting the window, client and DC size
let me ask you 1 thing: almost microsoft programs use win32 functions(directly or indirectly, maybe not the with Visual Studio .NET or above): - so when we draw more than … -
Replied To a Post in about email notifications
hello Dani. we have spoken about these problem before. and i continue with problem :( if my english is confused, please tell me -
Replied To a Post in [win32] - about getting the window, client and DC size
imagine the image is more big than the client size, so i can get the image size from the file or BITMAP structure. but if you edit the image and … -
Created [win32] - about getting the window, client and DC size
- the GetWindowRect() give me the window size and position; - the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others; so when 1 image is more big than … -
Began Watching [win32] - about getting the window, client and DC size
- the GetWindowRect() give me the window size and position; - the GetClientRect() give me the window size without inclued the scrollbars\menus\borders\others; so when 1 image is more big than … -
Replied To a Post in [win32] - how change the values of scrollbars?
so i'm loking for the DC size, right? (help me with right terms) -
Replied To a Post in [win32] - how change the values of scrollbars?
thank you very much. but i'm confused in anotherthing: GetClientRect (hwnd, &rect) ; give me the actual DC size or window size without scrollbars\menus\border\others? -
Created [win32] - how change the values of scrollbars?
by the book, i read that with WM_SIZE message i can get the client size instead use the GetClientRect() function: case WM_SIZE: GetClientRect (hwnd, &rect) ; VerticalScrollSize=rect.bottom; si.cbSize = sizeof(si); … -
Began Watching [win32] - how change the values of scrollbars?
by the book, i read that with WM_SIZE message i can get the client size instead use the GetClientRect() function: case WM_SIZE: GetClientRect (hwnd, &rect) ; VerticalScrollSize=rect.bottom; si.cbSize = sizeof(si); … -
Marked Solved Status for [win32] - ScrollBars: why the SB_THUMBPOSITION message don't repaint?
i'm testing the win32 scrollbars, but i'm with 1 problem: when i use the SB_THUMBPOSITION message, why the window isn't repainted( the WM_PAINT message isn't used)? case WM_VSCROLL: switch (LOWORD … -
Gave Reputation to SalmiSoft in [win32] - ScrollBars: why the SB_THUMBPOSITION message don't repaint?
MSDN Says: Note The SetScrollPos function is provided for backward compatibility. New applications should use the SetScrollInfo function. I think you need to call GetScrollPos first to get the current … -
Replied To a Post in [win32] - ScrollBars: why the SB_THUMBPOSITION message don't repaint?
isn't that problem. the problem was that i didn't use the SB_THUMBTRACK scrollbar message. case WM_VSCROLL: si.cbSize = sizeof(si); si.fMask = SIF_ALL; GetScrollInfo (hwnd, SB_VERT, &si); switch (LOWORD (wParam)) { … -
Edited [win32] - ScrollBars: why the SB_THUMBPOSITION message don't repaint?
i'm testing the win32 scrollbars, but i'm with 1 problem: when i use the SB_THUMBPOSITION message, why the window isn't repainted( the WM_PAINT message isn't used)? case WM_VSCROLL: switch (LOWORD … -
Created [win32] - ScrollBars: why the SB_THUMBPOSITION message don't repaint?
i'm testing the win32 scrollbars, but i'm with 1 problem: when i use the SB_THUMBPOSITION message, why the window isn't repainted( the WM_PAINT message isn't used)? case WM_VSCROLL: switch (LOWORD … -
Began Watching [win32] - ScrollBars: why the SB_THUMBPOSITION message don't repaint?
i'm testing the win32 scrollbars, but i'm with 1 problem: when i use the SB_THUMBPOSITION message, why the window isn't repainted( the WM_PAINT message isn't used)? case WM_VSCROLL: switch (LOWORD … -
Replied To a Post in about '::' and MFC
thanks maybe i can thot in anotherthing ;) sorry, if i take time to answer i have problems with mails notifications, on posts, when i'm log in...strange but true -
Replied To a Post in about '::' and MFC
what means 'afx_msg'? isn't a C++ commands\code -
Created about email notifications
i continue with 1 problem with emails notifications and i have the option selected :( - if i'm log out/off, i recive the mails notifications normaly(new posts and private message); … -
Began Watching about email notifications
i continue with 1 problem with emails notifications and i have the option selected :( - if i'm log out/off, i recive the mails notifications normaly(new posts and private message); …
The End.