|
Hello there, sorry but am a noob at this..... My question is: is there a python implementation of psola
|
|
|
|
|
Wrong forum.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
|
Hi!
I ran the Activating a Window program and found that it goes in an endless loop, where one of the three states it can switch to will be selected, however none of the close buttons on the message boxes function and the only way I was able to end the program was by use of the Task Manage. I have tried a variety of solutions, but none are worthy. I also notice that even when I use my mouse to react to the message boxes, the message that comes up can be This window has been activated, without the mouse.
This seems pretty dysfunctional in terms of a tool to switch between window, since a method should be possible by which to deactivate and close all the windows shown.
|
|
|
|
|
Member 11432935 wrote: I ran the Activating a Window program You should be talking to the person who wrote it.
|
|
|
|
|
Hi Everyone,
we are developing a simple testing tool for GUI testing using AutomationElement (AE). We want extend it to support VB controls also.
But we can not VB control information using AE. I want use .Net remoting to VB control information. Is it possible?
Regards,
Rajendar.
|
|
|
|
|
Does this have anything to do with C/C++/MFC?
|
|
|
|
|
hi , i want to show the text typed in textbox(form 1)
shown on label(form 2)
heres my code : label2.Text = txtUser.text;
i get a error textbox8 does not exist in current context
modified 16-Jul-15 11:16am.
|
|
|
|
|
Okay, and?
[edit]
This looks like VB, .Net, or Unmanaged code. Regardless, you are in the wrong forum.
[/edit]
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
modified 16-Jul-15 11:12am.
|
|
|
|
|
and i get a error 
|
|
|
|
|
Congratulations. Since you do not offer anything about that error, and my ESP is down for maintenance, I guess my work here is done.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
i only saw now that i havent finished it, i sent you a reply but seems like it didnt go thru , i get a (textbox8)login form does not exist in current context
|
|
|
|
|
sorry i only see now that i didnt finish it uhm i get a (textbox8) login form not part of current .....
|
|
|
|
|
You can't directly refer to controls on another Form from within a Form. You must expose a method or property on the other Form by which to retrieve the value of the control.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
ok makes sense , how do i do that
public form 1
|
|
|
|
|
Go back to your study guides and learn how to expose properties of your class objects.
|
|
|
|
|
I am struggling for some while to coloring a control scrollbar, with DrawThemeBackground . (any control, no matter what) ... here is the trial:
void CMyControl::OnDraw(CDC* pDC)
{
HTHEME hTheme = OpenThemeData(m_hWnd, L"WINDOW");
if(NULL != hTheme)
{
if(WS_VSCROLL & GetStyle())
{
SCROLLBARINFO si;
si.cbSize = sizeof(SCROLLBARINFO);
GetScrollBarInfo(OBJID_VSCROLL, &si);
CRect rect(si.rcScrollBar);
pDC->FillSolidRect(&rect, RGB(255, 0, 0));
HRESULT hResult = DrawThemeBackground(hTheme, pDC->GetSafeHdc(), SBP_LOWERTRACKVERT, SCRBS_NORMAL, &rect, NULL);
if(S_OK == hResult)
TRACE("ok\n");
else
TRACE("not ok !\n");
}
CloseThemeData(hTheme);
}
}
And I always get not ok ! ... What I'am doing wrong here ? The scrollbar rectangle are ok, I verified ... can you help me ? Thank you.
|
|
|
|
|
Print the HRESULT code upon failure. It may help to identify the error source (e.g. by printing the corresponding error message using FormatMessage or searching for the code in WinError.h).
|
|
|
|
|
I cheked:
E_FAIL Unspecified failure 0x80004005
I am stuck
P.S. But I would try FormatMessage too ...
modified 15-Jul-15 9:05am.
|
|
|
|
|
Flaviu2 wrote: But I would try FormatMessage too That would not help because it will print something similar ("Unspecified error") in the current Windows system language.
I'm sorry, but I have no other ideas.
|
|
|
|
|
Thank you for your interest, it's weird that I haven't see any example of how to use DrawThemeBackground function ...
|
|
|
|
|
I have tried also:
HTHEME hTheme = OpenThemeData(m_hWnd, L"SCROLLBAR");
if(NULL != hTheme)
{
if(WS_VSCROLL & GetStyle())
{
SCROLLBARINFO si;
si.cbSize = sizeof(SCROLLBARINFO);
GetScrollBarInfo(OBJID_VSCROLL, &si);
CRect rect(si.rcScrollBar);
pDC->FillSolidRect(&rect, RGB(255, 255, 0));
HRESULT hRes = DrawThemeBackground(
hTheme,
pDC->GetSafeHdc(),
SBP_UPPERTRACKVERT,
SCRBS_NORMAL,
&rect,
NULL);
TRACE("HRESULT: %d|%d: OK ? %d\n", hRes, S_OK, hRes == S_OK);
}
CloseThemeData(hTheme);
}
And the result are S_OK now, which is good, however, I have seen nothing colored ... strange ...
|
|
|
|
|
|
I have checked for the first time, but I formatted as int (%d), that's why I saw noise there, not real error returned ... so tricky this DrawThemeBackground function ...
|
|
|
|
|
Hello there. I have this project which compiles fine but VS IDE shows that it can not find identifier. Under these identifiers are red lines. WHY is it so ??? Is there some setting I need to check??
This world is going to explode due to international politics, SOON.
|
|
|
|