Questions tagged [bringtofront]
68 questions
0
votes
3 answers
How do I get my "Dunedin" Div to move to front?
I've tried applying z-index: -1 but nothing will seem to work:
HTML:
Dunedin
CSS:
#dunedin {
font-size: 200px; text-align: center;
position: relative;
z-index: -1;
}

user7651290
- 1
- 1
0
votes
0 answers
Bring C# form to front and don't grasp focus after done
One of my application has one notice c# form that needs to be brought to front every time new notice received, regardless of the status of the form.
And additionally, we don't want the notice form to steal focus when brought to front.
I tried to use…

FaceBro
- 787
- 2
- 13
- 29
0
votes
0 answers
How to put the dragged image behind
I want to use the Drag & Drop system to give the user the feeling he puts the item in a box. My xaml looks like :
…

Myosotis
- 239
- 3
- 14
0
votes
1 answer
View won't go in front of parent view
Basically I have a view that I make a subview of a separate view that I am using as a container the first view however won't go in front of its parent. On the storyboard is shows the child view in front of its parent however on the simulator it is…

XvKnightvX
- 579
- 7
- 23
0
votes
1 answer
Focus a form without bringing it in front of the others
When using the Focus() method, the targeted form acquire focus but is also brought in front of the other forms.
Is there a way to avoid this z-order modification ?
Here is a short example :
class MyForm : Form
{
static void Main(string[] args)
…

A. Jacquet
- 51
- 9
0
votes
1 answer
c# bringtofront() and senttoback() not working
I am new to c# and I'm trying to understand z-index concept. So far I have a simple form created using ConsoleApplication project in visual studio. There are 3 cs files. Here's the code:
In Algorithm.cs (inherited from UI.cs):
using System;
using…

Fierid
- 13
- 5
0
votes
0 answers
Disable program auto focus and bring to front desktop - winforms
I'm developing program perform multiple tasks in the loop, use 3rd party libraries. But when it's done a job, it automatically appears in front of screen, made me lose focus. How to disable auto appear? I've tried:
private void…

Minh Giang
- 631
- 9
- 28
0
votes
0 answers
BringToFront WinForm when event happens in embedded browser
I have made a WinForm with an embedded Browser control in it. When an event happens in the webpage I have in the webbrowser control, I want my application to get focus and bring it to the front of my screen.
I'm using the progressChanged event and…
0
votes
3 answers
Android, view.bringToFront() not working in ViewPager
I have a ViewPager modelled after this example, where I am implementing ViewPager.PageTransformer:
public class DepthPageTransformer implements ViewPager.PageTransformer {
private static final float MIN_SCALE = 0.75f;
public void…

Birrel
- 4,754
- 6
- 38
- 74
0
votes
1 answer
Android - Bring an activity to the front from application class
I am trying to bring an activity to the front. I found many questions similar to this but none of them actually works.
I always hold a reference to the current activity in a variable in application class. While the application is running in the…

Anup
- 115
- 5
- 15
0
votes
1 answer
Android Studio - bringToFront must be called from the UI thread
since I've imported my Eclipse project to Android Studio I have an error concerning the bringToFront() method.
protected Void doInBackground(String... num_t) {
planningTitle = (TextView) findViewById(R.id.planningTitle);
…

Cedric
- 112
- 1
- 10
0
votes
1 answer
SetWindowPos does not bring the app to top
I have a strange problem with SetWindowPos function. This function is used to bring app on top with the following code:
if (!SetWindowPos(this.Handle, HWND_TOPMOST, 0, 0, 0, 0, NO_FOCUS_FLAGS))
…

Alex Simatov
- 1
- 2
0
votes
1 answer
What's the difference between bringToFront in Android 4 and Android 5?
I've got this layout with a DrawerLayout and a ScrollView:

ArthurNipple
- 1
- 2
0
votes
1 answer
BringToFront and different message pumps
I will jump right into the question.
Basically I have set up a program that requires multiple message pumps. However, when a form is in focus and a form that is on a different message pump calls BringToFront, it won't work because it's on a…

Prionum
- 133
- 1
- 2
- 7
0
votes
0 answers
Bring image to front onclick in android
I have made a demo for a photocollage,And i have done almost with it,But i want to bring an image to front on its click,I have tried this as below
code,But its not working,My code is as below:I have attached my layout xml code and accordingly java…

user3819148
- 85
- 1
- 12