|
Unlike other data files where you open them, go to the end, and start writing, Excel files must be told where (i.e., what cell) to put the data. How are you doing this?
hellogany wrote: It keeps on asking...with out asking the question
Huh?
hellogany wrote: Is ther any solutions?
Not without seeing what you are currently doing.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
hi i m using MFC
how i can hide specific button in a toolbar without creating any disturbance for other buttons.
please guide.
Thanks
destined to win
|
|
|
|
|
Hi,
i want to display a tooltip when the mouse pointer is over a specific part of window.
I am using the following code
if(IsResizable(ptHit))
{
if (::IsWindow(mToolTip.GetSafeHwnd()))
{
mToolTip.UpdateTipText(_T("Resizing not possible"), this, 60000);
mToolTip.Activate(TRUE);
}
else
{
BOOL rVal = TRUE;
rVal = mToolTip.Create(this, TTS_ALWAYSTIP);
if(rVal)
{
BOOL result = mToolTip.AddTool(this, _T("Resizing not possible"), CRect(100, 150, 200, 200), 60000);
if(result)
{
mToolTip.Activate(TRUE);
}
}
}
}
But the tooltip is not coming.
Thanks
|
|
|
|
|
Call method EnableToolTips().
Capture message TTN_NEEDTEXT.
Add ON_NOTIFY_EX( TTN_NEEDTEXT, 0, OnToolTipNotify) in the message map and implement method OnToolTipNotify.
cheers
Varghese Paul
|
|
|
|
|
Hi,
Thanks for replying. Actually it was my fault because the coordinates which i was using as boundry for tooltip were not correct.
|
|
|
|
|
Hi all,
i have two diffrent buttons.
when keyboard use instead of mouse.
if i (press enter)clicked button 1 than focus set to the next button that is button 2.
i have use SetFocus() on Clicked event of button1,but its not done.
please tell me how can i do this.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Use GotoDlgCtrl() instead of SetFocus()
cheers
Varghese Paul
|
|
|
|
|
Thanks its done.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hi All,
I am creating one application in which i want to convert text to image.I dont have any idea about it.Is their any API so that i convert that text to image.
Please Click This Link[^]
Thanks in Advance
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
I believe you can use GDI to render the text to a window or a memory context and then save its contents as an image.
-Saurabh
|
|
|
|
|
Thanks For your kind help Saurabh but i really dont have any idea about it. Can you please provide me any article or API so that it is easy for me to understand .
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
These are the function for drawing using GDI Font and Text Functions[^].
You can try to look up for memory DC and how to save it to a image.
-Saurabh
|
|
|
|
|
Thank you so much
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
I am using listview in recordview with checkbox when I check and unchecked checkbox
of particular row then that row not selected.It only selected when I click
on that row item. so what I want that row should also get selected when I check and
uncheck the checkbox of the row. How It is possible???
Trioum
|
|
|
|
|
Hi all,
How can I convert an UINT into wstring.
Initially I convert it into CStringW, using Format(). But wstring there is no such thing. I want to avoid MFC here.
Any idea?
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
#include <sstream>
UINT i = 100;
std::wstringstream str;
str << i;
wstring s = str.str();
-Saurabh
|
|
|
|
|
Thanks,
How about this way?
<br />
wchar_t buf[8];<br />
wstring str(L"");<br />
_itow(12, buf, 10);<br />
str.append(buf);
Actually I want to do this for values from 0 to 31 only. So I think my buffer size is enough.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Sure you can do this way but I will recommend using wstringstream. It is more general, you don't have to worry about buffer size.
-Saurabh
|
|
|
|
|
I'm writing a software application which I intend to sell and I'm implementing a number of security features for licensing purpose.
I was wondering if there is a way to identify a Windows OS installation. Example is it possible to get Windows Serials?
|
|
|
|
|
|
your thought is not realism ,because maybe many people use the same SN of windows ,i think you can get some hardware information to deal with that ,such as net card physics address
a beginner
|
|
|
|
|
enhzflap was just replying to another user asking how to get window's serial number.
I agree with your criticism, but you should point it at the original poster (JackWack).
Iain.
|
|
|
|
|
Hi
I wanna know how to change all of controls of a MFC exe, like skin programs(SkinCrafter for example)
I have wrote some function to subclass all of a controls of a dialog, it enumarates all child windows and subclass all buttons for example, I created a class derived from CDialog, and call that function on it OnInitDialog() method, and I derive all my dialog's class from this one, so all of it's buttons will be replaced, this works great for me, but want to know how these skin programs can change all of controls of an exe file, a piece of code or a good guidline will help me much
Please answer if you know something about this
Thank you all
www.logicsims.ir
|
|
|
|
|
|
Hi,
I'm having problems converting some compiled code in VC++ 6.0 under my new Studio 2005 environment.
VC++6.0:
<br />
ON_MESSAGE( MY_MESSAGE, OnUmMyMessage)
the .H declaration for above...
<br />
afx_msg void OnUmMyMessage(EGS_CONSTATE conState, CMyMsg *msg);<br />
<br />
typedef enum { STATE1, STATE2, STATE3, } EGS_CONSTATE;<br />
<br />
class CMyMsg : public CMyOtherClass<br />
{<br />
public:<br />
char data[MAX_MSG_SIZE];<br />
};
The compiler error I get is:
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMyVisDlg::* )(EGS_CONSTATE,CMyMsg *)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
How can I make my arguments or message map look like a (WPARAM,LPARAM) ?
Thanks!
|
|
|
|