Search:
Type: Posts; User: skpradhan
Search:
Search took 0.66 seconds.
-
August 16th, 2004, 01:51 AM
Hi
Please somebody help me to make a user control property of ArrayList and how to make an editor for this property.
Example: for my user control, say i want to add a property named TextList which...
-
July 14th, 2004, 07:36 AM
Hi Paresh
Thanks for the reply. Still I am not able t change the size of top level menu items like File,Edit etc.
Can you please help me on that? Is it possible to resize the top level items?...
-
July 14th, 2004, 12:43 AM
I tried to increment the size of menu items using the owner draw but could make it for submenus not the top level menu items. Can any one tell me whether its possible to resize the top-level menu...
-
February 3rd, 2004, 08:54 AM
The above function behaves differently for a clipboard format of text type. This freates a CFile object of CSharedFile in 2k and xp ahere as it creates COleStreamFile in 9x and NT. Also in 2k/xp the...
-
September 23rd, 2003, 02:16 AM
Could u pls,post the code snippet where u r populating the tree and in which function?
-
December 14th, 2002, 06:49 AM
Sample code to change the color of static controls: use this code in OnCtrlcolor() function dependiong on your requirement:
//Blue color for a specific control on anytype (say IDC_EDIT2 edit...
-
December 12th, 2002, 11:48 PM
VT_I8 is there available in MIDL for a hyper data type(__int64). I know this does not comply to automation because VB does not have any data type of 8byte int. But my requirement is for VC users ,so...
-
December 12th, 2002, 08:14 AM
I have a requirement of creating a 2 dimesional SAFEARRAY of __int64/hyper. I tried to make is using SafeArrayCreate() but could not succeed. If any body has worked on it pls send me a code snipate...
-
August 12th, 2002, 07:45 AM
Hi gurus
1.Is it possible to create a SAFEARRAY of 200X500 elements of __int64 data type? If possible please post a sample code for this.
2. Can I use that SAFEARRAY from VB and how?
Thanks in...
-
April 23rd, 2002, 08:55 AM
Hi all C# gurus
I would like to call a library of C functions exported from a dll. I know the way to make this is to write un-managed code with DllImport attribute to write a C# wrapper function and...
-
April 11th, 2002, 01:58 AM
Hi,
Use \r\n instead of only \n for multiline statis control
Ex. 1. prepare char *p = "xxxxx\r\n" + "yyyyyy\r\n"
+ "zzzzz"
2. SetDlgItemText( , p )
Regards
santanu
Be sure to rate answers...
-
April 11th, 2002, 01:39 AM
Hi srujan
this is one way u can do for comparison:
1.Create a memory DC from the opened bitmap.
2.use CDC:GetPixel() function which returns u a COLORREF.
3.then may be u can use...
-
April 10th, 2002, 02:15 AM
hi
use SetWindowPos() function for this:
sample code:
CWnd *myEdit=GetDlgItem(IDC_EDIT1);
myEdit->SetWindowPos(,,,,);
See this SetWindowPos() in msdn for details
Regards
-
April 10th, 2002, 02:08 AM
Hi
the first parameter of CreateFont() is for setting the font height. once u create a cFont object u cannot change the height of this object, u will have to create a new Cfont object with new...
-
April 10th, 2002, 01:48 AM
Hi
u can extract some part of bitmap. use LoadImage() and CopyImage() to do ur job.
Regards
skp
Be sure to rate answers if it helped, to encourage them.
-
April 10th, 2002, 01:28 AM
Hi
Use the Resource ID attached to that edit box for enabling or disabling the edit box.
EX: say IDC_EDIT1 is your resource Id for that edit box then,
//to disable...
-
November 21st, 2001, 02:32 AM
Hi Tom
thanx a lot for ur quick answre, it helped me a lot to understand Vb calling . here is my actual problem. hope u can help me to solve this problem. I m a VC programmer and just new to VB.
...
-
November 20th, 2001, 11:20 PM
Hi all
i need some help from VB programers. My requirement is how can i pass an array of double to a function by reference. please give the function defination syntax and function calling syntax...
-
September 22nd, 2001, 03:07 AM
Hi
You can use directly the
LPTSTR GetCommandLine(VOID); function in InitInstance() function of ur application class before initialization. This will return a string which u can parse to get the...
-
September 21st, 2001, 04:39 AM
U can use ODBC/DAO/ADO to read and write data to different databases, but corresponding database drivers should be there. Say if u are using DAO u can use the classes like...
-
September 21st, 2001, 04:30 AM
Hi
i am giving u the sample code to load a bitmap from .bmp file and display it in a CView derived view class.u can put this code in OnDraw() function for test.
//load the bitmap directly from...
-
September 18th, 2001, 09:56 AM
"context sencitive help" checkbox in step 4 of appwizard when u making an SDI application for example.
Be sure to rate answers if it helped, to encourage them.
-
September 18th, 2001, 09:29 AM
simple way is to use the appwizard option for creating help for the application and modifying the .RTF file contents generated by the appawizard. Visual c++ will compile and make the .hlp for u....
-
September 18th, 2001, 07:33 AM
Hi
R u reading the values as strings?
if so then use sscanf() function to read the hex values of string buffer to decimal value.
sscanf(buffer,"%x",&intVal);
Regards
S.K.Pradhan
Be sure...
-
September 18th, 2001, 06:53 AM
Hi
Take the concept of COM reference counting implementation and maintain a counter.
Regards
S.K.Pradhan
Be sure to rate answers if it helped, to encourage them.
|
Click Here to Expand Forum to Full Width
|