Search Results

Showing results 1 to 35 of 35
Search took 0.01 seconds.
Search: Posts Made By: koushal.vv
Forum: C++ Dec 1st, 2008
Replies: 0
Views: 495
Posted By koushal.vv
Hi All,

i am using MSFlexGrid in my project , i have added the click event for the Grid. Basic operation of grid is when ever any one clicks on any of the cell i will create a combo box...
Forum: C++ Dec 1st, 2008
Replies: 0
Views: 518
Posted By koushal.vv
Hi All,

I have added context menu for my tree view control,
i have enabled the context menu only for right click , Can any one tell me how to generate the context menu by key board....
Forum: C++ Nov 30th, 2008
Replies: 2
Views: 1,138
Posted By koushal.vv
Finally i found a way...
When ever any over flow occurs a global variable errno get's set to ERANGE so in the code i have made a check like this


int ConvertToInt( CString intVal )
{
...
Forum: C++ Nov 30th, 2008
Replies: 2
Views: 1,138
Posted By koushal.vv
Hi All,


i have a problem in converting CString to Int/Double,
function i am using is _wtoi , _wtof.....
Here if the CSting value has say "12345"
this works perfectly. But if any other value...
Forum: C++ Nov 27th, 2008
Replies: 3
Views: 930
Posted By koushal.vv
Actuall i got the solution, there is only one image icon for any project what mistake i did was to just modify only 48 * 48 SIZE image , now i modiffied all the images its working fine.

how did i...
Forum: C++ Nov 27th, 2008
Replies: 3
Views: 930
Posted By koushal.vv
Hi ,

I am working with MFC SDI application,
when i open any project [ SDI ] default icon gets loaded
[ ie MFC icon ] , i am not able to change it , even i tried
modifying the icon...
Forum: C++ Nov 23rd, 2008
Replies: 10
Views: 1,150
Posted By koushal.vv
What if i run the program again, then again it starts with 1,
so i would get a exception :(
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,150
Posted By koushal.vv
i am storing some data in the database,
for tat i always need to send a unique value to it,
if the value already exists then an exception will be thrown.
so when ever i am storing in the db the...
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,150
Posted By koushal.vv
Console.WriteLine(System.Guid.NewGuid().ToString());
Forum: C++ Nov 22nd, 2008
Replies: 6
Views: 1,118
Posted By koushal.vv
Forum: C++ Nov 22nd, 2008
Replies: 0
Views: 357
Posted By koushal.vv
Hi,


i am using CMsFlexGrid in my project.
the problem i m facing is the alignment of data
ie when i store integer, double its getting aligned to right
when i store strings its getting...
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,745
Posted By koushal.vv
Hope this works....


CMainFrame* pFrame ; // Memeber variable
pFrame = (CMainFrame*) AfxGetMainWnd();

pFrame->GetMenu()
->EnableMenuItem(ID_SORT_MANAGER,MF_GRAYED);
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,745
Posted By koushal.vv
use the same logic for disabling the MANAGER menu also, Here u r graying it i think this shud also work for MANAGER. i will also try to write a dummy pgm and test this.
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,745
Posted By koushal.vv
So what u r saying is
first the menu looked like this

SORT
|
MANAGER

Here Enabling and Disabling of manager Menu can be done,
now u have updated the manager menu like this :
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,150
Posted By koushal.vv
Hi ,

can any one tell me how to generate an unique number ?
this can be done in C# with great ease. But i wonder how to generate tat in c++:ooh:
Forum: C++ Nov 22nd, 2008
Replies: 2
Views: 292
Posted By koushal.vv
Hi All,

Ignore the 1st thread :(

i have been working with visual studio 2005 for about 3 months
i thought it would be good to start a thread related to it. i know tat i havent used...
Forum: C++ Nov 22nd, 2008
Replies: 2
Views: 292
Posted By koushal.vv
Forum: C++ Nov 22nd, 2008
Replies: 10
Views: 1,745
Posted By koushal.vv
I have faced this problem before....
just go to the menu right click on it ,
say add event handler, Add the ONUpdate
event handler. U will have to enable
Every menu, Sub Menu OnUpdate event...
Forum: C++ Nov 21st, 2008
Replies: 6
Views: 1,118
Posted By koushal.vv
Hi,


i just need to know is there any method in MFC / C++
which will do the validation for the entered date.
ie if the date 12/11/2008 is given as input it should return saying the date...
Forum: C++ Oct 28th, 2008
Replies: 1
Views: 297
Posted By koushal.vv
got it guyz its solved .......
mtreectrl.setitemimage();
:)
Forum: C++ Oct 28th, 2008
Replies: 1
Views: 297
Posted By koushal.vv
Hi ,


i am working with CTreeCtrl,
Here i need to add and remove IMAGE
on the tree item at runtime. ie add an image
only on the particular tree item . How can i do this.
i have tried...
Forum: C++ Oct 23rd, 2008
Replies: 3
Views: 352
Posted By koushal.vv
Hi thanks for the reply,

i cant change the settings of the system where i deploy the exe.
what ever i have to do i have to do it programatically.
Adding the dependent dll's in system 32 can be...
Forum: C++ Oct 23rd, 2008
Replies: 3
Views: 352
Posted By koushal.vv
Hi


i have developed an MFC sdi application ( C++ ),
when i deploy this application in another machine
the Grid component is not showing up in the UI.
The Grid which is used is...
Forum: C++ Oct 10th, 2008
Replies: 3
Views: 1,145
Posted By koushal.vv
I have done the similar thing in MFC ,
we can specify the right click option while tool tip
creation only .

OnContextMenu(CWnd* pWnd, CPoint point)
{
VERIFY(mMainMenu.CreatePopupMenu());...
Forum: C++ Oct 10th, 2008
Replies: 5
Views: 841
Posted By koushal.vv
This might help u , i havent used proper variable names but the code works....
just reply me if u dont understand this code :)

//Header file

#include "stdafx.h"
#ifndef ABC
#define ABC
...
Forum: C++ Oct 9th, 2008
Replies: 6
Views: 518
Posted By koushal.vv
yeah i am one lazy developer :(
thanks for the reply guys i will surely try out this solution
and get back to u .....
Forum: C++ Oct 9th, 2008
Replies: 5
Views: 841
Posted By koushal.vv
yup...
Struct is also an Data type [ User defined data type]
u can define it where ever u want. the way u use the integer
data type use Struct data type after defining it.
Can u clearly specify u...
Forum: C++ Oct 9th, 2008
Replies: 6
Views: 518
Posted By koushal.vv
Thanks for the reply,
but problem is the code size is too huge
its around 10k lines of code, the problem in
the code is dangling pointers [not sure ]. i have a delete operator
for every new...
Forum: C++ Oct 9th, 2008
Replies: 6
Views: 518
Posted By koushal.vv
Hi Friends,

Can any tell me a free tool which detects memory leak in C++ code.
to be more specific [ UNMANAGED C++ code ]. i am using some C Structs in my
MFC SDI application, When i...
Forum: C++ Oct 9th, 2008
Replies: 5
Views: 755
Posted By koushal.vv
OH GOD.....
One more thing !
i have added the keyboard short cut for Menu1 say ctrl + M,
but how to add short cut like this :
Menu1 :: Alt + M + N..... i have tried adding the ascii and many...
Forum: C++ Oct 9th, 2008
Replies: 5
Views: 755
Posted By koushal.vv
Hi Jencas,

i found out the solution :)

IDR_MAINFRAME ACCELERATORS
BEGIN
"P", ID_CREATE_PATIENT, VIRTKEY, CONTROL
"S", ID_CREATE_STUDY, VIRTKEY,...
Forum: Windows Vista and Windows 7 Oct 9th, 2008
Replies: 20
Views: 4,632
Posted By koushal.vv
I use Spybot search and Destroy , this has free updates,
Removes trojans and lots of viruses :cool: . Guyz give this a try
Forum: C++ Oct 9th, 2008
Replies: 5
Views: 755
Posted By koushal.vv
Hi Jencas, Can u explain me wat is accelerator key?
or can u provide me with any link which explains the same.
i just want to have a keyboard short cut for Menu1 ( the keyboard
short cut would...
Forum: C++ Oct 8th, 2008
Replies: 5
Views: 755
Posted By koushal.vv
How to add keyboard shortcuts to Menu in an SDI application?
Some of the things that i have tried is :
say Context menu has a sub menu called Menu1 , i have
mentioned it as &Menu1 which makes...
Forum: Viruses, Spyware and other Nasties Oct 8th, 2008
Replies: 8
Views: 3,951
Posted By koushal.vv
Hi ,

I have tried many antivirus softwares,
i think SPYBOT Search and Destroy is the
best one , its a free download and with free upgrades
just try it i has solved most of my problems...
Showing results 1 to 35 of 35

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC