135 Topics

Member Avatar for
Member Avatar for fka

Hi there, I'm writing some application based on Qt and C++ and I've reached the problem. How to display window via clicking, triggering, etc. I wrote some code: //---------------------------- // THIS IS IN mainwindow.h //---------------------------- #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class MainWindow : …

Member Avatar for mike_2000_17
0
191
Member Avatar for hueikar

I am trying to insert and retrieve image from sql server into window phone. and the image type would be varbinary. I cant find example for it.. Mostly the related post is about retrieve from url or isolated image.. Any help? Thank you.

0
95
Member Avatar for cool_zephyr

hello everyone..i'm trying to create a simple window using Win API in visual studio 2010 using the code below #include <Windows.h> LPCTSTR g_lptstrClassName="myWindowClass"; LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd,msg,wParam,lParam); } return 0; } int WINAPI …

Member Avatar for adityatandon
0
581
Member Avatar for rannamaa

Im making a program in wich I need to monitore (import) a variable (number from an other program window every time the variable changes. There are very much other information in this window but I only want this number that is occuring at a sertain position in the window. How …

Member Avatar for triumphost
0
160
Member Avatar for ero100@live.com

hi, There is a a physical server (window server 2008 r2) which is running as main server and as domain controller. As administrator it automatically gives remote access to the server from out site of the network. Im using the Remote desktop to log in to the server. The static …

Member Avatar for CimmerianX
0
356
Member Avatar for Lefian

Hello all! I would like to ask for some help/guidance on how to achieve the following: I am currently working on a website where I have an image and next to it a jquery youtube player (http://badsyntax.github.com/jquery-youtube-player/index.html). Both of them work fine and are placed next to each other. However, …

0
156
Member Avatar for livesinabox

What I am supposed to do is create a C program which implements a "dumb" Sliding Window Protocol Implementing Client Server Program. First the client and server establish a connection between themselves and then the client sends "RST" to the server. The server inturn sends its window size (10) to …

0
150
Member Avatar for gbonline

Hi to all, i'm writing a little interface in python with Tkinter on linux debian, with this interface i need to execute some program like rdesktop and vnc. but i've a little problem: i use a fullscreen window without decorator (read buttons for iconify and close) where i've putted some …

Member Avatar for gbonline
0
261
Member Avatar for RazorRamon

I'm centering my container div this way. #container{ position: absolute; left: 50%; margin:0 auto; height:100%; width:1024px; margin-left: -512px; text-align:left; } The div centers in the window, however when the user resizes the window to smaller than 1024 the window starts showing the center of the page. How can i make …

Member Avatar for almostbob
0
238
Member Avatar for game4tress

I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well …

Member Avatar for nmaillet
0
294
Member Avatar for Robert955

Hello, for my Game I used this tutorial from riemers for automatically scalling graphics relative to the current resolution of the game window: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2D/Resolution_independency.php If I change from the baseSize to another resolution the Mouse position gets messed up, I have a custom cursor on (int)ms.x, (int)ms.y but when I …

0
130
Member Avatar for skorm909

Hey, I was about to get started just making a simple text game and was wondering how to make it so the game came up in a different window other than the CMD? Like how can I make it come up in say.. A 400x200 Window? Where I could customize …

Member Avatar for DeanMSands3
0
97
Member Avatar for TF401

Hi, I want to know if is possible to make those events/automation with a Python code( without any program like Pywinauto ), so I could compile the python code: 1. [B]sending keys to an active window;[/B] 2. [B]sending mouse clicks to specific coordinates in a window;[/B] 3. [B]set the window …

Member Avatar for ihatehippies
0
353
Member Avatar for TF401

Hi, I want to know what Windows language can make ALMOST all sorts of automations like : [I]- sending keys, to a focused window ; - sending mouse clicks to specific coordinates in a window ; - finding if a window exists, by name ; - set it to be …

Member Avatar for TF401
0
217
Member Avatar for justinkb88

I am very new to JavaScript and am trying to use JavaScript to determine the height of a div. The div starts in the middle of the browser window and I need it to extend to the bottom of the window. How can the window height be determined and used …

Member Avatar for justinkb88
0
129
Member Avatar for cheekangteh

hi i am facing overwriting file in window mobile 6 professional. bellow are my code. when the system start loading: [CODE] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim line As String Dim Lat As StreamReader = New StreamReader("\Program Files\please_must_be_ok\Resources\contact1.txt") line = Lat.ReadToEnd() TextBox1.Text = …

Member Avatar for cheekangteh
0
208
Member Avatar for umair jameel
Member Avatar for chris99

I'm having trouble with an application in Tkinter. The program displays a button that has a picture on it and that button takes you to a website about that picture, but that is not where the issue lies. There is another module that I have found on an internet tutorial …

Member Avatar for chris99
0
2K
Member Avatar for Sarkahn

This is a way to force a given aspect ratio of a window any time the user tries to resize or cascade it. [CODE] double aspectRatio = 640.0 / 480.0; WPARAM sideBeingDragged = 0; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); …

0
404
Member Avatar for Chuckleluck

Could someone help me with this code? When I compile & run my project, it says "Battlefront.exe has stopped working. Windows is looking for a solution to this problem" This is my code: [CODE]//----------------------------------------------- /// Battlefront.cpp Source Code File /// Part of the Battlefront.cbp Code::Blocks Project //----------------------------------------------- /// This file's …

Member Avatar for Chuckleluck
0
703
Member Avatar for labise

How can i add a pop-up window with below code? [CODE]<a href="inventory_images/<?php echo $id; ?>.jpg">View Full Size Image</a></td>[/CODE]

Member Avatar for jcarbillon
0
107
Member Avatar for mikenowo

I've been looking for an app that could find a specific open window on the desktop and 'lock' it so can't be re-sized or moved (most likely by using the title bar value/property). Having had no luck, I was wondering if this can be done in c++? I used to …

Member Avatar for mikenowo
0
191
Member Avatar for ryufire
Member Avatar for teo236

how can I sleep my program without sleeping others (or making them slower)? I am using a windows application. here is a fragment of my code: [CODE] //#includes... int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst, char * cmdParam, int cmdShow) { MSG msg; int status; Window myWind(SW_SHOW,"Name",150,120,500,0); for(int i=0;i<550;i++){ myWind.setLocation(i,i); …

Member Avatar for teo236
0
198
Member Avatar for Gustavo_B

Hi, I'm writing a small application that gets some data from the user and launches a second application related to what process the user is working on. So, sometimes the user needs to choose from different versions of the same aplication. I decided that after the Ok button is pressed …

Member Avatar for JoshuaBurleson
0
980
Member Avatar for hackit

guys i just read a vulnerability in the calculator of windows. vulnerability is like this: *) open calculator *) type 4 and then take its square *) then minus two from the result shocked.... answer should be 0 but it shows a different answer.. please help me on this.

Member Avatar for Reverend Jim
0
178
Member Avatar for rakwel10

Can I configure this function to make it print a certain pixel only? Around 500px X 700px Center. <script language="javascript"> ... function printpage() { window.print(); } </script> Is it possible?

Member Avatar for Airshow
0
154
Member Avatar for JoshuaBurleson

Is there a way to hide or at least automatically minimize the "shell-like" tkinter window, while running it?

Member Avatar for TrustyTony
0
348
Member Avatar for rakwel10

as the title says, "close popup window after submit then redirect to parent". how do i do that? i google it and i saw that some people are using the following code: [B]window.close(); window.opener.location.reload(); [/B] The problem is, i dont know how to use and where them. pls guide me. …

Member Avatar for almostbob
0
19K
Member Avatar for IndianaRonaldo

I have started with windows programming.I am now in the painting and repainting part.When the WM_PAINT is called,the entire client window is supposedly validated,does that meaen the window comes to the foreground and becomes the active one? Or have I misinterpreted the meaning of validation of window? Please help. Thanks …

Member Avatar for caut_baia
0
134

The End.