Issue with search function, and rating system
I am having issue with the search function, when I search my database instead of getting the information saved on the database I just get 1, so how can I fix it so it shows the info of the game which I...
View ArticleMFC tree control highlight item selected by the keyboard ?
I have this old code in which I had: Code: --------- void ModCTreeCtrl::OnLButtonDown(UINT nFlags, CPoint point) { UINT uFlags; HTREEITEM htItem = this->HitTest(point, &uFlags); if ((htItem !=...
View Articleaide code source C++
Bonsoir tout le monde, je suis une étudiante. Je nai pas des bonnes connaissances en c++. Mon travail nest plus de programmation mais simplement jai besoin de travail sur des programmes qui existent...
View Article[RESOLVED] aide code source C++
Bonsoir tout le monde, je suis une étudiante. Je nai pas des bonnes connaissances en c++. Mon travail nest plus de programmation mais simplement jai besoin de travail sur des programmes qui existent...
View ArticleCan't click on controls/menu when detach MDI child out of MDI client area
Whole sample project can be found here: Sample project (https://drive.google.com/open?id=0Byc4Rs2GTQ1RSUI1bzIyNFlWWmc) Normal MDI child: Attachment 34857...
View ArticleWINDOWPLACEMENT and Maximized View
Hello, Tried to find an explanation for this behavior in the forum but could not find an answer. The GetWindowPlacement and SetWindowPlacement code using the registry works fine. The application always...
View Article[RESOLVED] Can't click on controls/menu when detach MDI child out of MDI...
Whole sample project can be found here: Sample project (https://drive.google.com/open?id=0Byc4Rs2GTQ1RSUI1bzIyNFlWWmc) Normal MDI child: Attachment 34857...
View ArticleAuto-complete selection
Hi, ALL, Is there a way to know when the auto-complete combo box selection occurs? Either by mouse click or "Enter" press. It doesn't look like it is from looking here...
View Articleis there a faster alterantive for CreateFileW ?
I'm writing a directory enumerator and CreateFileW takes as long as NtQueryDirectoryFile when it's cached , is there a faster alternative to get the handle ?
View ArticleWhat does mean: lParam | 0x80000000 in a WM_LBUTTONDOWN
Hello everyone, as the title, what does lParam | 0x80000000 mean in a WM_LBUTTONDOWN? I know that HI e LO lparam words specifies cursor coordinates, but what does it mean if I use an OR bitwise...
View ArticleChild Dialog constraint inside a Window
Hello everyone, could you please help me to find a good solution to constraint a dialog inside a window? So it move when window move, resize when window resize and so on. Thank you
View ArticleMFC virtual ctreectrl ?
I'm trying to display a list of file system entries , for example the tree of a partition , what I want to do is to display entries expanded but only add entries to the ctreectrl as needed so for...
View Articlevalidation and menu call
Code: --------- case 1 : { char OTX; cout<<"Enter the code reserved for staff and faculty :"<>OTX; char answer; if (answer != 'OTX' && answer != 'otx' ) { cout<<"Access not...
View ArticleWhy does 'virtual' make a difference here ??
I'm building a dll (let's call it DLL A) which uses a 3rd party dll (DLL B). But DLL A has never needed to link to the link library for DLL B. Recently, a new *name()* function got added to one of the...
View ArticleEmbedding Python in C++ [BOOST]
Hi everyone, I have a problem that I'm unable to solve. I'm trying to embed Python in my C++ application. I saw examples online that use Python.h, however, I don't have that file and don't really know...
View ArticleNeed help with my code.
SO for this project im using binary trees and im supposed to make a phone book contact list. I have the set up sorrect but for some reason I cant get the contact list or even the names if the people I...
View Articleloop store of data
hello . I have a question on 2d arrays and loop Is there anyone to help. thx . Anyone??
View Articleerror C2440: 'static_cast' : cannot convert from 'int (__thiscall...
Hi I am trying to port old version C++ code into Visual Studio 2013. When I am trying to do this, I am getting the following error. 1> INVOICEView.cpp 1>INVOICEView.cpp(23): error C2440:...
View ArticleInicial path in browse folder dialog
I read about to set an initial path when we show a dialog for browse a folder, and i tried to do like i read. The dialog show this path and only this folder, not a tree, and i can`t change it. I want...
View Article