|
All the time I was looking for a Show method, there was CMFCRibbonProgressBar::SetVisible sitting right there before my eyes. Sometimes I'm dumb.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
What is the diffrence between LPRECT and RECT . How can we identify the use of these .
|
|
|
|
|
pandit84 wrote: What is the diffrence between LPRECT and RECT . How can we identify the use of these .
Right click on the datatype and select "Go to definition". That should help.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
LPRECT is a pointer to RECT
LP here stands for LONG POINTER, i.e. 32-bit
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
You may also use Visual Basic and have a (politely) happier life.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi,
i am enhancing my application to support unicode characters...
Following is my code snippet:
---------------------------------------------------
typedef struct tagTIMEDATE {
DWORD Innards[2];
} TIMEDATE;
(structure being defined by Microsoft.(oledb.h))
typedef struct tagDBID
{
union
{
GUID guid;
GUID *pguid;
/* Empty union arm */
} uGuid;
DBKIND eKind;
union
{
LPOLESTR pwszName;
ULONG ulPropid;
/* Empty union arm */
} uName;
} DBID;
I used the following typedef now:
typedef TIMEDATE DBID;
------------------------------------------
Unfortunately, Compiler throws me an error (c2371) stating DBID is redefined;different basic types..
Previously, it was working fine. its not working after making my solution unicode supporting one in the project settings..
can anyone guide me how to solve this issue?
Thanks,
Rakesh
|
|
|
|
|
TIMEDATE and DBID are reserved datetype so you cant use DBID.
Make typedef TIMEDATE MY_DBID;
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi, Karsten
But previously, it was working fine... in the sense, before converting my project settings to unicode...
If so, why is it not working now?
|
|
|
|
|
|
Hi all,
I have made a application in vc-2008 Release mode, but i have made all the debug option true in my code i.e i am able to debug my application in release mode also.
My problem is i want to detect memory leak in my application. I got this code in msdn
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
_CrtDumpMemoryLeaks();
but it is mentioned that this code will work only in debug mode....
I am not getting that this code will work for me or not...
Can anybody please tell me? OR, is there any other way of doing so....
Thanks in advance
|
|
|
|
|
Why do you want to detect your memory leaks in release mode ? I don't release understand that
|
|
|
|
|
Ideally, you check memory leaks in debug mode and then finally change to release mode.
Are you writing configuration specific code?
If not you should be fine with checking leaks in debug mode.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Debug-Mode is suitable for detect memory leaks.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi
i Have a ClistCtrl and i want ot display the gridlines only for the rows and not for the colums. i have extended my style using the LVS_EX_GRIDLINES property. how to achive this?
Thanks in Advance
Gokul
|
|
|
|
|
Here is an article called Drawing horizontal and vertical gridlines[^], which is a very old one used to draw grid lines in a list control before it supported the LVS_EX_GRIDLINES style.
Change it to draw only lines for the rows.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
how to convert
IPictureDisp *pIPictureDisp to Byte array.
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
You could try the GDI function GetObject[^] after getting the GDI handle using the HANDLE property of IPictureDisp .
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Recently i have converted my project to VS2008 from VS2005.
My application crashes when we try to open a new job file from 'open' command.
Actually we have derived CFileDialog and added a preview on the right side of dialog.
So that when selecting the job iteself we can see the preview of it.
this works fine in VS2005. But it seems some problem after converting to VS2008.
Any solution to solve this problem.
Crashes in Vista machine alone. In Xp it works fine.
modified on Wednesday, August 19, 2009 2:42 AM
|
|
|
|
|
The crash is most likely a problem with the preview on the right side.
You should debug it and zero in on the problem.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
It works fine in XP machine after VS2008 migration.
But it dint work in Vista machines.
|
|
|
|
|
You shoul set
BOOL bVistaStyle = FALSE
in your derived class's constructor.
|
|
|
|
|
yes i have done that. It works fine.
|
|
|
|
|
Hi all
I am inserting files into SQL server using bulk insertion.
Can anybody tell me how to do it using variables.
I will store the data in a structure and how to insert this
structure to the SQL server.
Inserting using files is taking time.
Please help.
Regards
Deepu
|
|
|
|
|
Is this related to C++/MFC?
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
type:IMAGE
it's my pleasure to make friend with you.
|
|
|
|