No i was wrong. Sorry. "*j = '\0'" is out of loop. Then i wonder why crashing.
Type: Posts; User: fizisyen
No i was wrong. Sorry. "*j = '\0'" is out of loop. Then i wonder why crashing.
No i was wrong. Sorry. "j" is out of loop. Then i wonder why crashing.
yeah maybe you are right. I didnt tested any code this thread nor looked in to code, honestly. But i prefered because of working on pointer to original and returning the address approach. Surely,...
what ? the same thing? it was in 2.2.9 too. Did you tried to comment out in header?
Personally most liked Thantos' s advice. And as an alternative, dont return anything(void). And just use in func then use the same pointers later.
CleanStream( pStr );
printf(pStr); ...
manually or give full path for bitmap.
not hard.
#define MY_MESSAGE WM_USER + 131
and for example
case WM_COMMAND:
switch(LOWORD(wParam))
{
case ID_Button1:
these lines are wrong,
IDB_ADDENTRY PUSHBUTTON "Add Entry", 304, 14, 239, 55, 14
IDB_DELETEENTRY PUSHBUTTON "Delete Entry", 305, 75, 239, 55, 14
must,
...
So far i have not see your resource.h but be resource contains an ID number. And your RC file doesnt has " #include "resource.h" " line.
You dont need GetModuleHandle(NULL) since you have...
OK. Replying myself. Maybe somebody needs :)
On windows, buttons and other controls are like another window. We already know
this if ever need to subclassing a window. The same approach....
Hi,
Today i was working on "PtInRect" api. I worked with a simple window and a button.
And i saw that if mouse is over button then PtInRect is not capturing this. Then
i changed "Button" to...
Hi Dante Shamest,
Thank you. You are too kind to give me an example. I will look at your code. Just now, seemed will work for just my own programs' tray icon. As an early comment, was need to...
Yes, as you guessed. Sorry, couldnt explained well. I want to access to popup menu on a shortcut.
Hi,
Can we right click on an icon in systray by a shortcut key? (not own application, anyone in tray)
Thank you for you things.
1. Yes seems C code because i am very new in C++ but liked much :)
2.
Thats right too. I know it. But not important now. I am using in pushes() in fact. Thats like...
Hi,
My problem is like the below code. In "pushes" function "ptr++" is increasing 16 bytes
and in "pops" "ptr--" code decreasing only 1 byte as normal. I didnt understand the 16.
Why 16 and...
CButton::SetCheck
void SetCheck( int nCheck );
Parameters
nCheck
Specifies the check state. This parameter can be one of the following:
Value Meaning
hmm, like boomerang i reply to myself. I forgot to write to forum my solve. Maybe somebody needs,:p
1. in .cpp of child dialog;
CWnd *CWndTab1; // global
for a control over, in...
Thank you
In fact i was saw that good article in CodeTools but this is in CodeGuru. Anyway, i couldnt noticed the differences of
ListView_SetBkColor and ListView_SetTextBkColor
...
Hi,
I want to adjust color of ListView. In fact i did it. When window firt opened it look ok(i used LVM_SETBKCOLOR). But after filling with items with a command, it is getting back to white. This...
Thank you swoopy,
error C2248: 'OnInitDialog' : cannot access protected member declared in class 'CTabOne'
this is the error i get. I suppose maybe can use accessors, not sure but, in fact i am...
temp!='\0'
Hi,
I attached a project about my question. It is created by a class which i found in CodeGuru, a TabControl. From the main dialog file(MyTabExampleDlg.cpp) i want to get the handle of the button...
I suppose my problem about, win98(not SE).
Microsoft Knowledge Base Article - 214408 (Q214408)
is explaining such problem. But is fixed in SE. Maybe somebody looks here in future. Must think...
Thank you Salem, but as i discussed my last post, i tried all of them in that link too(as others), even i mostly become hopeful in fact.
I am already searching microsoft articles about this...