Type: Posts; User: mesajflaviu
Search took 0.01 seconds.
Kindly thank you ... I'll pay attention on this, right now I have only one monitor, but who knows in future ?
No ... are you referring GetSystemMetrics(SM_CXFULLSCREEN) ?
I finally made it ... I put code here, in case that someone need it:
int nScreenWidth = GetSystemMetrics(SM_CXFULLSCREEN);...
To render medical images (DICOM files), in fact MultiPlanarReconstruction. Theoretic, VTK has graphic objects that behave like what I am trying to do, but is not working correct when vtk window has...
Note that I need to keep the mouse track inside of client area, AND it should be moved ONLY on horizontal direction ... but you gave me an idea: to create a ClipCursor rectangle wide as client area,...
I already tried that, doesn't working ...
Though in real application I will not use this code inside of OnMouseMove (over CView I am spread up a VTK window), there is a very good point ! Thank you. Now, I have to think about some_condition...
In a SDI app, I constraint the mouse to move only an horizontal direction, if "Shift" key is pressed ... here is the code:
void CTestMouseView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) ...
March 27th, 2015, 02:52 AM
This problem occurred on VC6 ... I am still using VC6 ... I know, this is not good thing, but the project is pretty big and I am thinking that is lot of work to migrate the project on newer versions...
March 24th, 2015, 04:40 AM
Sorry for later response ... here is the entire code that gave me problems:
HKEY hKey(NULL), hKeyC(NULL);
ULONG cSize = 255;
CString sPath, sVersion,...
March 17th, 2015, 02:57 AM
Here is the complete situation: I have an MDI app. Also, I have a class, CMyDB, derived from CObject. Inside of this class, I have a CString member variable:
CMyDB : public CObject
March 13th, 2015, 06:29 AM
"What version of VC are you using?
What actions with this CString instance do you perform? "
I am using VC6 as Visual Studio ... and with that CString I just want to use it to keep error...
March 13th, 2015, 04:50 AM
After all, I really found the problem: instead of
// Get the Version information
lRet = RegQueryValueEx(hKeyC, NULL, NULL, NULL, (BYTE*)(LPCTSTR)sVersion, &cSize);
March 2nd, 2015, 02:41 AM
I don't feel good knowing that by my attitude (I guess), or by my posts, I upset (maybe) some peoples, more over, peoples who helped me a lot ... I feel oblige to answer, by respect from those who...
February 27th, 2015, 07:06 AM
I know what you said ... The main reason that I didn't dig in to reveal why the scrollbars has disappeared in the real application is because in the test project, the scrollbars looks ugly ... but,...
February 27th, 2015, 07:03 AM
Ahh, I didn't noticed that flat scrollbars are available only until 5.8.2 ... my mistake.
February 26th, 2015, 03:42 AM
"So you are expecting that we will be now searching for the differences between the original code and your own implementation"
I would not have this expectation, of course ... the only thing is, I...
February 26th, 2015, 03:39 AM
"And how does "your" case differ from the case described in the article?"
That solution applied on my case, is not function at all, I mean, the scrollbars has vanish completely ... I know, sounds...
February 26th, 2015, 03:32 AM
I think I make myself unclear: I succeeded into color scrollbars (of an control, let say CListBox), but not with this:...
February 26th, 2015, 03:20 AM
I found the origin of the problem: before I work to excel wrapper, I opened registry and I didn't close them ... in case that everyone will face with the same problem ... thank you all !
February 26th, 2015, 03:15 AM
I think I found a solution to colorize the scrollbars: using FlatSB_SetScrollProp ... and is almost done, except one thing: OS redraw the control scrollbars when I click on scrollbars ... could you...
February 4th, 2015, 11:26 AM
I think you are perfectly right ... the problem is in somewhere else ...
February 4th, 2015, 05:06 AM
I am thinking that the problem is inside of excel wrapper, that's why I get these garbage's in m_sError ... I am right ?
February 3rd, 2015, 10:47 AM
Thank you ... I will looking for what you said.
February 3rd, 2015, 10:19 AM
Here is the debugging result:
if (GetData()->nDataLength == 0) // m_pchData => "Some random error"
if (GetData()->nRefs >= 0) //...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.