|
It is an add-in that embeds tabs into Visual Studio 6 IDE. Just like the tabs in Visual Studio .NET IDE, it provides you an easier way to switch windows in Visual Studio 6 IDE.
Please have a look at my website:
http://www.visual-studio-booster.com/[^]
Your comments and suggestions are appreciated. Thanks!
/*
An easier way to switch windows in visual studio 6 :
http://www.visual-studio-booster.com/
*/
|
|
|
|
|
why don't you post it as an article on CodeProject ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
That's a good idea, thanks!
/*
An easier way to switch windows in visual studio 6 :
http://www.visual-studio-booster.com/
*/
|
|
|
|
|
eh eh, i do my best for beest suggestions
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
oh, i've just realized that it's a shareWare...
can't we benefit the source code ?!
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
|
I'm sorry that I'm not going to make it open-sourced currently. I suppose that I may change my mind someday
An easier way to switch windows in visual studio 6 :
[Visual Studio Booster]
|
|
|
|
|
toxcct wrote:
oh, i've just realized that it's a shareWare...
Is somobody still writing obnoxious nagshareware these days?
|
|
|
|
|
Is it free like WndTabs[^]?
I have been using WndTabs for many years and it works great. Any reason to switch?
John
-- modified at 23:45 Tuesday 30th August, 2005
|
|
|
|
|
Good Day,
I'm Using Visual Studio .Net.I Am Currently Studying Visual C++.Net.I Have Created A Windows Search Form.I Have Connected The Form To The Database.The Form Has The Following Text Boxes: Surname Name Id No.I Want To Be Able To Type In The Surname And Click Find.It Must Then Search My Database And Return The Name And Id No.I Would Really Appreciate The Code To Do This.
I Appreciate Your Help And Time
In Every Failure There Is Success
|
|
|
|
|
It depends on what kinda database structure you are using really. If you are using ADO.NET it goes something like this:
OnFindButtonClicked()
{
CString str,cmd;
GetDlgItemText(SURNAME_EDITBOX, str);
cmd.Format("SELECT Name,Id FROM yourTable WHERE surname = %s",str);
// here hook to adapter,dataset, datarow, the whole shebang...
SetDlgItemText(ID_EDITBOX,datarow->Item[S"id"]->ToString());
SetDlgItemText(NAME_EDITBOX,datarow->Item[S"name"]->ToString());
}
Honestly, it is really kinda complicated and alot of code. Here's a very helpful tutorial on ado by Mr. Tom Archer at codeguru.com:
http://www.codeguru.com/Cpp/data/mfc_database/ado/article.php/c4287/
I think there's also a data-bind way that uses wizards, but you'll have to ask someone else for that.
|
|
|
|
|
Hi, I'm using vs.net 2003 and I understand that you can create various string tables that automatically switch depending on the default language set in the windows os control panel. I would like to change the default language within my c++ program though. What code do I write to manually switch the string tables? Thanks.
e.g. Say I am using a Japanese OS, and I want the user to be able to alternate between the English version and Japanese version within the program without going to control panel.
|
|
|
|
|
you have to load from the resource table the string table to which you want to switch. then, use CString::LoadString() to get the strings from the table and CWnd::SetWindowText() to change the caption of the controls...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
I got the second part, it's the first part i don't know how to do. My question specifically: What's the code to load the proper string table?
|
|
|
|
|
Hi all.
I want to craete a List Control with small images.
I have to use a CImageList to craete the image list to attach to the CListCtrl.
This little images must be only plain color icons, a green icon, red, yellow, etc. The color is given by RGB.
I'm using this code:
...<br />
CBitmap bitmap;<br />
unsigned char buffer [ 16*16*3];<br />
if( !assignColorToBitmap(reinterpret_cast<unsigned char*>( buffer ), 16, 16, <br />
layerColor.Red(), layerColor.Green(), layerColor.Blue() ) )<br />
{<br />
return FALSE;<br />
}<br />
if( !bitmap.CreateBitmap( 16, 16, 3, sizeof( unsigned char ) * 3, buffer ) )<br />
{<br />
return FALSE;<br />
}<br />
int imageIndex = imageList_.Add( &bitmap, reinterpret_cast<CBitmap*>(NULL) );<br />
if( imageIndex == -1 )<br />
{<br />
return FALSE;<br />
}<br />
if( pList->InsertItem( layerPosition, layerName, imageIndex ) == -1 )<br />
{<br />
return FALSE;<br />
}<br />
...
First i create the buffer for the bitmap color, this done by assignColorToBitmap, i have debugged it and it is right.
Second create a bitmap with the previous buffer with parameters:
width = 16
height = 16
Color plains = 3
Bits per pixel = sizeof( unsigned char ) * 3
Then add the bitmap to the image list, without any mask. And finally insert the item with the corresponding image index.
When i run the dialog all the images are black, when i'm using instead green, red, etc ...
No matter the colors i use i get always a black image.
This code works perfectly if i load and icon instead of craete my own bitmap, but it is not useful in this example because i know onlu at runtime waht colors i have to use for the image list.
Any suggestions?
Thanks
|
|
|
|
|
Have you tried to display your bitmap some other way (like in a CStatic ) just to see if your bitmap definition is wrong or if it is the CImageList that makes trouble ?
~RaGE();
|
|
|
|
|
Hello!
I have 2 questions:
1) How do I declare multidimensional arrays (matrices) in C++??? Can anybody describe it in detail? This is probably a very simple thing, isn´t it?
2) If the first problem is working...can I then declare an array as a member-variable, so that I am able to use this array in my whole program?
Thanks for your help!!!
|
|
|
|
|
Anonymous wrote:
How do I declare multidimensional arrays (matrices) in C++???
Look at this[^], it can help you.
Anonymous wrote:
can I then declare an array as a member-variable
Sure, as any other var.
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.
|
|
|
|
|
<font color=blue>#define</font> <font color=purple>NULL</font> (<font color=blue>(void</font>*)0)
<font color=blue>class</font> myProgram {
<font color=blue>typedef double</font> ValueType;
<font color=blue>typedef</font> ValueType[][] Matrix; <font color=green>
<font color=blue>private</font>:
Matrix m_matrix; <font color=green>
<font color=blue>public</font>:
myProgram() {
m_matrix = <font color=purple>NULL;</font>
}
myProgram(<font color=blue>int</font> dimX, <font color=blue>int</font> dimY) {
<font color=green>
m_matrix = <font color=blue>new</font> ValueType[dimX][dimY];
<font color=green>
<font color=blue>for</font> (<font color=blue>int</font> i = 0; i < dimX; i++) {
<font color=blue>for</font> (<font color=blue>int</font> j = 0; j < dimY; j++) {
m_matrix[i][j] = <font color=blue>new</font> ValueType();
}
}
}
};
now, you create it like that :
myProgram mp(5, 3); <font color=green>
<font color=green>
<font color=green>
cheers,
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 10:18 Tuesday 30th August, 2005
|
|
|
|
|
|
Roland Pibinger wrote:
Have you actually compiled that with a C++ compiler? [confused]
what's wrong with my code (except the fact that it is just an example, and certainly should contain much features to be used correctly) ?
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 2:36 Wednesday 31st August, 2005
|
|
|
|
|
Hi all
I am making an application using property pages. I have used 15 dialog pages.
Now the problem is that when program is executed then only two rows of tabs(8-9 tabs) are displayed and as soon as any tab is clicked all tabs are displayed in three rows.
So please tell me that how can I resolve this problem?
Thanks & regards
|
|
|
|
|
Hi All
I had send a query & waiting for reply by you,
Please reply I am in trouble.
Thanks & Reagards.
Bye
|
|
|
|
|
Hi
I am having a application which I am using to monitor file operations. i have registered my application with the shell using ShChangeNotifyRegister API . If I run my application as a standalone application I am able to get the notifications . But if I run my application as service ShChangeNotifyRegister API is returning Invalid handle value . I m not able to register my application with the shell . Since ReadDirectorychanges is not supported in 98/me i am relying upon ShChangeNotifyRegister . I request you to give me a suggestion .
Vijayaragavan
|
|
|
|
|
hi,
anyone know how to read the VERSION value in the resource file? i am referring to VERSION value that can be found as file version, product version in the windows explorer.
basically, i want to read this value and write to the log file.
any have any idea?
thanks!
|
|
|
|